diff options
Diffstat (limited to 'source4/libcli/smb2/tdis.c')
-rw-r--r-- | source4/libcli/smb2/tdis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/tdis.c b/source4/libcli/smb2/tdis.c index f89e5c8e90..1c6b3e978e 100644 --- a/source4/libcli/smb2/tdis.c +++ b/source4/libcli/smb2/tdis.c @@ -48,7 +48,7 @@ struct smb2_request *smb2_tdis_send(struct smb2_tree *tree) NTSTATUS smb2_tdis_recv(struct smb2_request *req) { if (!smb2_request_receive(req) || - smb2_request_is_error(req)) { + !smb2_request_is_ok(req)) { return smb2_request_destroy(req); } |