diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-20 09:44:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-21 08:43:00 +0200 |
commit | 6d2aaef787791fbcea9dcc6bca9e8f10d65dc746 (patch) | |
tree | 8b071a945483da5c21de32abb083d38d7362d26c /source3/lib/util.c | |
parent | e03b312b12785dc226c8f63e5d728e158fad38fd (diff) | |
download | samba-6d2aaef787791fbcea9dcc6bca9e8f10d65dc746.tar.gz |
s3:include: make smb_setlen() a macro
metze
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index df82733bc1f..8157c0ffd0d 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -184,20 +184,6 @@ void show_msg(const char *buf) } /******************************************************************* - 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. ********************************************************************/ |