diff options
author | Volker Lendecke <vl@samba.org> | 2012-03-05 13:28:07 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-03-05 15:13:49 +0100 |
commit | 07386bb5331a22c7dcfc4fef1ae527f20ce279e6 (patch) | |
tree | 4ad0c5634f743dea101df192070a062eb4e10616 /source3/smbd | |
parent | c99d245548e5fcf0a89b79749e52967dc29c012c (diff) | |
download | samba-07386bb5331a22c7dcfc4fef1ae527f20ce279e6.tar.gz samba-07386bb5331a22c7dcfc4fef1ae527f20ce279e6.tar.bz2 samba-07386bb5331a22c7dcfc4fef1ae527f20ce279e6.zip |
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
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index be21420f99..15e1efe4a0 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -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) { /* |