From 6d2aaef787791fbcea9dcc6bca9e8f10d65dc746 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 20 Oct 2011 09:44:02 +0200 Subject: s3:include: make smb_setlen() a macro metze --- source3/lib/util.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index df82733bc1..8157c0ffd0 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -183,20 +183,6 @@ void show_msg(const char *buf) dump_data(10, (const uint8 *)smb_buf_const(buf), bcc); } -/******************************************************************* - Set the length and marker of an smb packet. -********************************************************************/ - -void smb_setlen(char *buf,int len) -{ - _smb_setlen(buf,len); - - SCVAL(buf,4,0xFF); - SCVAL(buf,5,'S'); - SCVAL(buf,6,'M'); - SCVAL(buf,7,'B'); -} - /******************************************************************* Setup only the byte count for a smb message. ********************************************************************/ -- cgit