diff options
author | Jeremy Allison <jra@samba.org> | 2012-06-18 16:36:30 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-19 10:27:24 -0700 |
commit | 818fd7e917a7e2d6762e7b7f773a34e59c75b0df (patch) | |
tree | 536378d108fc2d64d70ad679cd12598a079e63b5 /source3/smbd | |
parent | 737acc78078d0ee9e03cd17bbcf73cd3debdeb18 (diff) | |
download | samba-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.c | 5 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 6 |
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); |