summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-21 06:56:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:03 -0500
commitbef3fbb6dbe48bfc65ae00ed9a0a52575494ca40 (patch)
tree0d0f9a5a1034b550bd8d233b2aab721ec8417a26 /source4
parent4ce2cf2199c88f2845bf3bf861407642d6cd04d2 (diff)
downloadsamba-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')
-rw-r--r--source4/torture/rpc/echo.c39
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");