diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-06-29 11:08:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:37 -0500 |
commit | bd1efc1235b647f6845fb7d6218cf2b4068e9f0a (patch) | |
tree | bc3bab485c794479e425b90020878dddae753f13 /source4/libcli/smb2/flush.c | |
parent | 1ce7b027e6ab7e713b36daed516ab90c1d80d61d (diff) | |
download | samba-bd1efc1235b647f6845fb7d6218cf2b4068e9f0a.tar.gz samba-bd1efc1235b647f6845fb7d6218cf2b4068e9f0a.tar.bz2 samba-bd1efc1235b647f6845fb7d6218cf2b4068e9f0a.zip |
r16669: this calls don't expect any valid error codes than NT_STATUS_OK
metze
(This used to be commit 429215113bd999466141df0a2e3b3097d677df1f)
Diffstat (limited to 'source4/libcli/smb2/flush.c')
-rw-r--r-- | source4/libcli/smb2/flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/flush.c b/source4/libcli/smb2/flush.c index 0eb5ed7a3b..531322ec4f 100644 --- a/source4/libcli/smb2/flush.c +++ b/source4/libcli/smb2/flush.c @@ -50,7 +50,7 @@ struct smb2_request *smb2_flush_send(struct smb2_tree *tree, struct smb2_flush * NTSTATUS smb2_flush_recv(struct smb2_request *req, struct smb2_flush *io) { if (!smb2_request_receive(req) || - smb2_request_is_error(req)) { + !smb2_request_is_ok(req)) { return smb2_request_destroy(req); } |