summaryrefslogtreecommitdiff
path: root/source4/include/smb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-05 16:43:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:45 -0500
commitdb04cffbbfe15a52b954960ff0eb40d2a5e4f00d (patch)
treedab01e1b28482f7c3ec6d87d8efc019cb555b8de /source4/include/smb.h
parentaf5032acfdf24d49eafcd981e4a6809ce15d6fd0 (diff)
downloadsamba-db04cffbbfe15a52b954960ff0eb40d2a5e4f00d.tar.gz
samba-db04cffbbfe15a52b954960ff0eb40d2a5e4f00d.tar.bz2
samba-db04cffbbfe15a52b954960ff0eb40d2a5e4f00d.zip
r12725: some minor updates
metze (This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)
Diffstat (limited to 'source4/include/smb.h')
-rw-r--r--source4/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index 5297ef9e27..78a66dd20a 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -576,7 +576,7 @@
#define smb_len(buf) (PVAL(buf,3)|(PVAL(buf,2)<<8)|(PVAL(buf,1)<<16))
#define _smb_setlen(buf,len) do {(buf)[0] = 0; (buf)[1] = ((len)&0x10000)>>16; \
(buf)[2] = ((len)&0xFF00)>>8; (buf)[3] = (len)&0xFF;} while (0)
-#define _smb_setlen2(buf,len) do {(buf)[0] = 0; (buf)[1] = ((len)&0xFF0000)>>16; \
+#define _smb2_setlen(buf,len) do {(buf)[0] = 0; (buf)[1] = ((len)&0xFF0000)>>16; \
(buf)[2] = ((len)&0xFF00)>>8; (buf)[3] = (len)&0xFF;} while (0)
#endif /* _SMB_H */