summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb2cli_close.c3
-rw-r--r--source3/libsmb/smb2cli_flush.c3
-rw-r--r--source3/libsmb/smb2cli_tcon.c3
-rw-r--r--source3/libsmb/smb2cli_write.c3
4 files changed, 4 insertions, 8 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;
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;
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c
index 731a6102cb..c22373994c 100644
--- a/source3/libsmb/smb2cli_tcon.c
+++ b/source3/libsmb/smb2cli_tcon.c
@@ -215,7 +215,6 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
tevent_req_data(req,
struct smb2cli_tdis_state);
NTSTATUS status;
- struct iovec *iov;
static const struct smb2cli_req_expected_response expected[] = {
{
.status = NT_STATUS_OK,
@@ -223,7 +222,7 @@ static void smb2cli_tdis_done(struct tevent_req *subreq)
}
};
- status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+ status = smb2cli_req_recv(subreq, NULL, NULL,
expected, ARRAY_SIZE(expected));
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
diff --git a/source3/libsmb/smb2cli_write.c b/source3/libsmb/smb2cli_write.c
index e4da6c8159..3d7b667a50 100644
--- a/source3/libsmb/smb2cli_write.c
+++ b/source3/libsmb/smb2cli_write.c
@@ -95,7 +95,6 @@ static void smb2cli_write_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,
@@ -103,7 +102,7 @@ static void smb2cli_write_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;