summaryrefslogtreecommitdiff
path: root/source4/smb_server/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/request.c')
-rw-r--r--source4/smb_server/request.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/smb_server/request.c b/source4/smb_server/request.c
index 4f7eb01103..5b1335a651 100644
--- a/source4/smb_server/request.c
+++ b/source4/smb_server/request.c
@@ -277,10 +277,6 @@ void req_send_reply_nosign(struct request_context *req)
*/
void req_send_reply(struct request_context *req)
{
- if (req->out.size > NBT_HDR_SIZE) {
- _smb_setlen(req->out.buffer, req->out.size - NBT_HDR_SIZE);
- }
-
req_sign_packet(req);
req_send_reply_nosign(req);