r4888: use the neater calling convention
authorAndrew Tridgell <tridge@samba.org>
Fri, 21 Jan 2005 06:56:57 +0000 (06:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:03 +0000 (13:09 -0500)
source/torture/rpc/echo.c

index 13731383eee4888a276cd3ae564bc293c9ccfbb0..ec16a7bcd98f1f9176da34205494018e4379c447 100644 (file)
@@ -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");