summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/smb2cli_close.c')
-rw-r--r--source3/libsmb/smb2cli_close.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_close.c b/source3/libsmb/smb2cli_close.c
index e6b907377f..246d9048b6 100644
--- a/source3/libsmb/smb2cli_close.c
+++ b/source3/libsmb/smb2cli_close.c
@@ -74,7 +74,6 @@ static void smb2cli_close_done(struct tevent_req *subreq)
tevent_req_callback_data(subreq,
struct tevent_req);
NTSTATUS status;
- struct iovec *iov;
static const struct smb2cli_req_expected_response expected[] = {
{
.status = NT_STATUS_OK,
@@ -82,7 +81,7 @@ static void smb2cli_close_done(struct tevent_req *subreq)
}
};
- status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+ status = smb2cli_req_recv(subreq, NULL, NULL,
expected, ARRAY_SIZE(expected));
if (tevent_req_nterror(req, status)) {
return;