From 818fd7e917a7e2d6762e7b7f773a34e59c75b0df Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 18 Jun 2012 16:36:30 -0700 Subject: Remove unused code now we set the correct command codes. --- source3/smbd/nttrans.c | 5 ----- source3/smbd/trans2.c | 6 ------ 2 files changed, 11 deletions(-) (limited to 'source3') 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 @@ -142,11 +142,6 @@ static void send_nt_replies(connection_struct *conn, total_sent_thistime + alignment_offset + 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); -- cgit