summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-09 11:05:47 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-09 13:38:37 +0100
commit4486336bd820c8be6145e3946dc831bda16602ca (patch)
tree6c8ba51b9d16539691375fbd6b207d9eb379477d
parentad5d3153226d0d24788dfde2007a93f019cc6c0d (diff)
downloadsamba-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
-rw-r--r--source4/libcli/raw/clitransport.c2
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);
}
}