fix it?
authorStefan Metzmacher <metze@samba.org>
Thu, 6 Oct 2016 05:26:47 +0000 (07:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 Jun 2018 12:35:19 +0000 (14:35 +0200)
libcli/smb/smb_direct.c

index c3ffd851586db80860c24c5b7446af7569e93fd3..c5c2dff771853e27734395f0ae328ac5e3140eeb 100644 (file)
@@ -699,7 +699,7 @@ DEBUG(0,("%s:%s: KEEP skip...(posted)\n", __location__, __func__));
                return 0;
        }
 
-       if (c->state.receive_posted > 0) {
+       if (c->state.receive_posted == 0) {
 DEBUG(0,("%s:%s: KEEP skip...(no RECV posted)\n", __location__, __func__));
                return 0;
        }