s3: Fix a cut&paste error
authorVolker Lendecke <vl@samba.org>
Tue, 3 Jan 2012 14:20:09 +0000 (15:20 +0100)
committerVolker Lendecke <vlendec@samba.org>
Tue, 3 Jan 2012 15:57:44 +0000 (16:57 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Jan  3 16:57:44 CET 2012 on sn-devel-104

source3/torture/torture.c

index 11d307d180182cc9698260d13115a7562edaa218..619f92dc6ce0717e3e6819622b021af2e3364675 100644 (file)
@@ -3802,7 +3802,7 @@ static bool run_oplock4(int dummy)
 
        open_req = cli_openx_send(
                talloc_tos(), ev, cli2, fname_ln, O_RDWR, DENY_NONE);
-       if (oplock_req == NULL) {
+       if (open_req == NULL) {
                printf("cli_openx_send failed\n");
                return false;
        }