diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-21 06:56:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:03 -0500 |
commit | bef3fbb6dbe48bfc65ae00ed9a0a52575494ca40 (patch) | |
tree | 0d0f9a5a1034b550bd8d233b2aab721ec8417a26 /source4/torture | |
parent | 4ce2cf2199c88f2845bf3bf861407642d6cd04d2 (diff) | |
download | samba-bef3fbb6dbe48bfc65ae00ed9a0a52575494ca40.tar.gz samba-bef3fbb6dbe48bfc65ae00ed9a0a52575494ca40.tar.bz2 samba-bef3fbb6dbe48bfc65ae00ed9a0a52575494ca40.zip |
r4888: use the neater calling convention
(This used to be commit d93b6a5b8e9e4bf86a96262db21aa3fc1490e91d)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/echo.c | 39 |
1 files changed, 8 insertions, 31 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 13731383ee..ec16a7bcd9 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -336,37 +336,14 @@ BOOL torture_rpc_echo(void) return False; } - if (!test_addone(p, mem_ctx)) { - ret = False; - } - - if (!test_sinkdata(p, mem_ctx)) { - ret = False; - } - - if (!test_echodata(p, mem_ctx)) { - ret = False; - } - - if (!test_sourcedata(p, mem_ctx)) { - ret = False; - } - - if (!test_testcall(p, mem_ctx)) { - ret = False; - } - - if (!test_testcall2(p, mem_ctx)) { - ret = False; - } - - if (!test_enum(p, mem_ctx)) { - ret = False; - } - - if (!test_sleep(p, mem_ctx)) { - ret = False; - } + ret &= test_addone(p, mem_ctx); + ret &= test_sinkdata(p, mem_ctx); + ret &= test_echodata(p, mem_ctx); + ret &= test_sourcedata(p, mem_ctx); + ret &= test_testcall(p, mem_ctx); + ret &= test_testcall2(p, mem_ctx); + ret &= test_enum(p, mem_ctx); + ret &= test_sleep(p, mem_ctx); printf("\n"); |