source4/libcli: Use NT_STATUS_PENDING instead of STATUS_PENDING
authorChristof Schmitt <cs@samba.org>
Fri, 19 Jun 2020 19:58:04 +0000 (12:58 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 22 Jun 2020 12:07:38 +0000 (12:07 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/libcli/smb2/transport.c

index 5b5bb79150df4da684c4e5d3688708bfc781d4e3..cb626d862159cf234e72520ca90a26f2aa1ec1e3 100644 (file)
@@ -292,7 +292,7 @@ static void smb2_request_done(struct tevent_req *subreq)
        req->recv_iov = NULL;
 
        req->status = smb2cli_req_recv(req->subreq, req, &req->recv_iov, NULL, 0);
-       if (NT_STATUS_EQUAL(req->status, STATUS_PENDING)) {
+       if (NT_STATUS_EQUAL(req->status, NT_STATUS_PENDING)) {
                struct timeval endtime = smbXcli_req_endtime(subreq);
                bool ok;