diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-09 11:05:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-09 13:38:37 +0100 |
commit | 4486336bd820c8be6145e3946dc831bda16602ca (patch) | |
tree | 6c8ba51b9d16539691375fbd6b207d9eb379477d /source4/libcli/raw | |
parent | ad5d3153226d0d24788dfde2007a93f019cc6c0d (diff) | |
download | samba-4486336bd820c8be6145e3946dc831bda16602ca.tar.gz samba-4486336bd820c8be6145e3946dc831bda16602ca.tar.bz2 samba-4486336bd820c8be6145e3946dc831bda16602ca.zip |
s4:libcli/raw: mark a request as error if we can't ship it
metze
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/clitransport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c index f1f41bcb78..a9ff8f33c5 100644 --- a/source4/libcli/raw/clitransport.c +++ b/source4/libcli/raw/clitransport.c @@ -337,6 +337,8 @@ void smbcli_transport_send(struct smbcli_request *req) status = smb1cli_req_chain_submit(req->subreqs, num_subreqs); if (!NT_STATUS_IS_OK(status)) { + req->status = status; + req->state = SMBCLI_REQUEST_ERROR; smbXcli_conn_disconnect(transport->conn, status); } } |