diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-09 11:05:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-09 15:13:11 +0100 |
commit | 4e57bb0b364e84f3cc8928f0f1a29055d69c7efd (patch) | |
tree | 46d2c808d327bf1eaa2f7aa927f69224b97afcfd | |
parent | 4486336bd820c8be6145e3946dc831bda16602ca (diff) | |
download | samba-4e57bb0b364e84f3cc8928f0f1a29055d69c7efd.tar.gz samba-4e57bb0b364e84f3cc8928f0f1a29055d69c7efd.tar.bz2 samba-4e57bb0b364e84f3cc8928f0f1a29055d69c7efd.zip |
s4:libcli/smb2: mark a request as error if we can't ship it
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 9 15:13:11 CET 2011 on sn-devel-104
-rw-r--r-- | source4/libcli/smb2/transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c index 55281d2b49..59d49f7845 100644 --- a/source4/libcli/smb2/transport.c +++ b/source4/libcli/smb2/transport.c @@ -227,6 +227,8 @@ void smb2_transport_send(struct smb2_request *req) TALLOC_FREE(transport->compound.reqs); if (!NT_STATUS_IS_OK(status)) { + req->status = status; + req->state = SMB2_REQUEST_ERROR; smbXcli_conn_disconnect(transport->conn, status); } } |