summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-11 12:18:58 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-12 11:08:00 +0200
commitbae9324e50c7513b2cae20bb352dbd014444471c (patch)
tree34fd5c0f34dc57c8c0522a3ec9a3ad3f9e49dbe6
parentd41d2e93f4e13e7975bcd8d4b7dc125f81ef2559 (diff)
downloadsamba-bae9324e50c7513b2cae20bb352dbd014444471c.tar.gz
samba-bae9324e50c7513b2cae20bb352dbd014444471c.tar.bz2
samba-bae9324e50c7513b2cae20bb352dbd014444471c.zip
s3:libsmb: call cli_smb_req_unset_pending() before tevent_req_done() also for chained requests
metze
-rw-r--r--source3/libsmb/async_smb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 9a5807fd41..f2fb5943cc 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -678,6 +678,7 @@ static void cli_smb_received(struct tevent_req *subreq)
state->inbuf = inbuf;
state->chain_num = i;
state->chain_length = num_chained;
+ cli_smb_req_unset_pending(req);
tevent_req_done(chain[i]);
}
TALLOC_FREE(inbuf);