summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-18 16:36:30 -0700
committerJeremy Allison <jra@samba.org>2012-06-19 10:27:24 -0700
commit818fd7e917a7e2d6762e7b7f773a34e59c75b0df (patch)
tree536378d108fc2d64d70ad679cd12598a079e63b5 /source3/smbd
parent737acc78078d0ee9e03cd17bbcf73cd3debdeb18 (diff)
downloadsamba-818fd7e917a7e2d6762e7b7f773a34e59c75b0df.tar.gz
samba-818fd7e917a7e2d6762e7b7f773a34e59c75b0df.tar.bz2
samba-818fd7e917a7e2d6762e7b7f773a34e59c75b0df.zip
Remove unused code now we set the correct command codes.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c5
-rw-r--r--source3/smbd/trans2.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 5410fcb219..2b426b4d9c 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -143,11 +143,6 @@ static void send_nt_replies(connection_struct *conn,
+ data_alignment_offset);
/*
- * We might have had SMBnttranss in req->inbuf, fix that.
- */
- SCVAL(req->outbuf, smb_com, SMBnttrans);
-
- /*
* Set total params and data to be sent.
*/
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 3a13cd2b21..682b3c4e4f 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -890,12 +890,6 @@ void send_trans2_replies(connection_struct *conn,
reply_outbuf(req, 10, total_sent_thistime + alignment_offset
+ data_alignment_offset);
- /*
- * We might have SMBtrans2s in req which was transferred to
- * the outbuf, fix that.
- */
- SCVAL(req->outbuf, smb_com, SMBtrans2);
-
/* Set total params and data to be sent */
SSVAL(req->outbuf,smb_tprcnt,paramsize);
SSVAL(req->outbuf,smb_tdrcnt,datasize);