1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: Remove "size" param from switch_message

Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Mar  5 15:13:49 CET 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-03-05 13:28:07 +01:00
parent c99d245548
commit 07386bb533

View File

@ -1345,7 +1345,7 @@ static void smb_dump(const char *name, int type, const char *data)
find.
****************************************************************************/
static connection_struct *switch_message(uint8 type, struct smb_request *req, int size)
static connection_struct *switch_message(uint8 type, struct smb_request *req)
{
int flags;
uint16 session_tag;
@ -1519,7 +1519,7 @@ static void construct_reply(struct smbd_server_connection *sconn,
SMB_PERFCOUNT_SET_MSGLEN_IN(&req->pcd, size);
}
conn = switch_message(req->cmd, req, size);
conn = switch_message(req->cmd, req);
if (req->unread_bytes) {
/* writeX failed. drain socket. */
@ -2064,7 +2064,7 @@ void chain_reply(struct smb_request *req)
req->buflen = buflen;
req->buf = buf;
switch_message(chain_cmd, req, smblen);
switch_message(chain_cmd, req);
if (req->outbuf == NULL) {
/*