summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-18 14:38:33 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 04:54:28 +0200
commita83e769b010700b258d0b395709fae0111714d9c (patch)
tree4e60913f8156884430242304dd93b5c484ec3b9b
parent342702918a8cfd5f2b6a3861edbccb72508dace7 (diff)
downloadsamba-a83e769b010700b258d0b395709fae0111714d9c.tar.gz
samba-a83e769b010700b258d0b395709fae0111714d9c.tar.bz2
samba-a83e769b010700b258d0b395709fae0111714d9c.zip
s3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on error
metze
-rw-r--r--source3/libsmb/smb2cli_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c
index 88b890438a..e7ba5175a3 100644
--- a/source3/libsmb/smb2cli_base.c
+++ b/source3/libsmb/smb2cli_base.c
@@ -321,7 +321,7 @@ struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx,
return NULL;
}
if (!tevent_req_is_in_progress(req)) {
- return req;
+ return tevent_req_post(req, ev);
}
status = smb2cli_req_compound_submit(&req, 1);
if (tevent_req_nterror(req, status)) {