r11628: fixed a valgrind error in the rpc echo test
authorAndrew Tridgell <tridge@samba.org>
Thu, 10 Nov 2005 04:28:55 +0000 (04:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:01 +0000 (13:46 -0500)
(This used to be commit d340ea7906c091a1400d3e73a8f530174aa8a965)

source4/torture/rpc/echo.c

index 1ce4a2000872224c3d16cbc01d2ffc6ce800fe29..afab64565dc9d074b3f02c8ffcf254c8edd092c1 100644 (file)
@@ -358,7 +358,7 @@ static BOOL test_surrounding(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
        status = dcerpc_echo_TestSurrounding(p, mem_ctx, &r);
        if (!NT_STATUS_IS_OK(status)) {
                printf("TestSurrounding failed - %s\n", nt_errstr(status));
-               ret = False;
+               return False;
        }
        
        if (r.out.data->x != 2 * r.in.data->x) {