diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/libnet/userinfo.c | 4 | ||||
-rw-r--r-- | source4/torture/libnet/userman.c | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c index bb8392952a..bcfe68fc6d 100644 --- a/source4/torture/libnet/userinfo.c +++ b/source4/torture/libnet/userinfo.c @@ -225,7 +225,9 @@ BOOL torture_userinfo(void) DCERPC_SAMR_UUID, DCERPC_SAMR_VERSION); - if (!NT_STATUS_IS_OK(status)) return False; + if (!NT_STATUS_IS_OK(status)) { + return False; + } name.string = lp_workgroup(); diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index 978cff35c1..c4c63088c6 100644 --- a/source4/torture/libnet/userman.c +++ b/source4/torture/libnet/userman.c @@ -251,7 +251,9 @@ BOOL torture_useradd(void) DCERPC_SAMR_UUID, DCERPC_SAMR_VERSION); - if (!NT_STATUS_IS_OK(status)) return False; + if (!NT_STATUS_IS_OK(status)) { + return False; + } domain_name.string = lp_workgroup(); if (!test_opendomain(p, mem_ctx, &h, &domain_name)) { @@ -296,7 +298,9 @@ BOOL torture_userdel(void) DCERPC_SAMR_UUID, DCERPC_SAMR_VERSION); - if (!NT_STATUS_IS_OK(status)) return False; + if (!NT_STATUS_IS_OK(status)) { + return False; + } domain_name.string = lp_workgroup(); if (!test_opendomain(p, mem_ctx, &h, &domain_name)) { |