summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-09 10:42:21 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-09 12:40:27 +0200
commit504d092aa7d83304373b001cbe68c65a62a824bb (patch)
treed8e9bdfbc2ef58794649a238ed11be9a4a451a4e /source3
parent242ca5dba35ba282ddfe96751120810eadb4de8e (diff)
downloadsamba-504d092aa7d83304373b001cbe68c65a62a824bb.tar.gz
samba-504d092aa7d83304373b001cbe68c65a62a824bb.tar.bz2
samba-504d092aa7d83304373b001cbe68c65a62a824bb.zip
s3:smb2cli_base: call smb2cli_req_unset_pending() before tevent_req_done()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/smb2cli_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c
index 7678cb9dc6..37ac44dd07 100644
--- a/source3/libsmb/smb2cli_base.c
+++ b/source3/libsmb/smb2cli_base.c
@@ -477,6 +477,7 @@ static void smb2cli_inbuf_received(struct tevent_req *subreq)
*/
goto fail;
}
+ smb2cli_req_unset_pending(req);
state = tevent_req_data(req, struct smb2cli_req_state);
if (i+3 >= num_iov) {
/* last in chain */