From: Volker Lendecke Date: Tue, 9 Jun 2020 16:54:07 +0000 (+0200) Subject: libcli: Add tevent_req_received() calls to smb2cli_create_recv() X-Git-Tag: ldb-2.2.0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d883105a02c49c86a7a79020337c1f8b419afb;p=thirdparty%2Fsamba.git libcli: Add tevent_req_received() calls to smb2cli_create_recv() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/libcli/smb/smb2cli_create.c b/libcli/smb/smb2cli_create.c index 778b501fae7..325bc79f9cd 100644 --- a/libcli/smb/smb2cli_create.c +++ b/libcli/smb/smb2cli_create.c @@ -249,6 +249,7 @@ NTSTATUS smb2cli_create_recv(struct tevent_req *req, NTSTATUS status; if (tevent_req_is_nterror(req, &status)) { + tevent_req_received(req); return status; } *fid_persistent = state->fid_persistent; @@ -260,6 +261,7 @@ NTSTATUS smb2cli_create_recv(struct tevent_req *req, blobs->num_blobs = state->blobs.num_blobs; blobs->blobs = talloc_move(mem_ctx, &state->blobs.blobs); } + tevent_req_received(req); return NT_STATUS_OK; }