diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-04-22 15:13:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:36 -0500 |
commit | 9fd63bde85c9cb12d12d0e810e494c30db19dbff (patch) | |
tree | e70d904a4388f935303950c8bc8424497f721055 /source4/torture | |
parent | 03cae64229f19c950bfacffe76c9ab7cfe919861 (diff) | |
download | samba-9fd63bde85c9cb12d12d0e810e494c30db19dbff.tar.gz samba-9fd63bde85c9cb12d12d0e810e494c30db19dbff.tar.bz2 samba-9fd63bde85c9cb12d12d0e810e494c30db19dbff.zip |
r6432: Restorin previous construction of conditions after a little discussion
with Richard and Andrew.
rafal
(This used to be commit 400f6d5f87c7a0b49bfd289521a3cf4af2586235)
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)) { |