summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-12-13 13:17:49 -0800
committerJeremy Allison <jra@samba.org>2010-12-13 13:20:05 -0800
commit27a47eb9fc869a1ee6c18f4165e1dccc9a8bee26 (patch)
tree0d98bf361f913c6774486b7788a4ea3fff2bdb9d
parent4ec66529e5d02cfe84b8c5a8c55ec9f88427e10f (diff)
downloadsamba-27a47eb9fc869a1ee6c18f4165e1dccc9a8bee26.tar.gz
samba-27a47eb9fc869a1ee6c18f4165e1dccc9a8bee26.tar.bz2
samba-27a47eb9fc869a1ee6c18f4165e1dccc9a8bee26.zip
Remove extra unused credit arg. to smbd_smb2_request_setup_out()
-rw-r--r--source3/smbd/smb2_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 9ed74fca5f..d2baed7cb4 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -481,7 +481,7 @@ static void smb2_calculate_credits(const struct smbd_smb2_request *inreq,
}
}
-static NTSTATUS smbd_smb2_request_setup_out(struct smbd_smb2_request *req, uint16_t creds)
+static NTSTATUS smbd_smb2_request_setup_out(struct smbd_smb2_request *req)
{
struct iovec *vector;
int count;
@@ -2178,7 +2178,7 @@ void smbd_smb2_first_negprot(struct smbd_server_connection *sconn,
return;
}
- status = smbd_smb2_request_setup_out(req, 1);
+ status = smbd_smb2_request_setup_out(req);
if (!NT_STATUS_IS_OK(status)) {
smbd_server_connection_terminate(sconn, nt_errstr(status));
return;
@@ -2233,7 +2233,7 @@ static void smbd_smb2_request_incoming(struct tevent_req *subreq)
return;
}
- status = smbd_smb2_request_setup_out(req, 5);
+ status = smbd_smb2_request_setup_out(req);
if (!NT_STATUS_IS_OK(status)) {
smbd_server_connection_terminate(sconn, nt_errstr(status));
return;