summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/smb2cli_flush.c')
-rw-r--r--source3/libsmb/smb2cli_flush.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_flush.c b/source3/libsmb/smb2cli_flush.c
index d46eeedbf5..738af24224 100644
--- a/source3/libsmb/smb2cli_flush.c
+++ b/source3/libsmb/smb2cli_flush.c
@@ -72,7 +72,6 @@ static void smb2cli_flush_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,
@@ -80,7 +79,7 @@ static void smb2cli_flush_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;