summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-22 22:45:34 +0000
committerJeremy Allison <jra@samba.org>2003-08-22 22:45:34 +0000
commite745d4e602698e0a49a9e90c918049b4096fbba8 (patch)
treea8c494dffdd9855dceb5fdae4eeb48b1f52d5f06
parent5dfeda00028c1d22428736a85140dec6f46ff94c (diff)
downloadsamba-e745d4e602698e0a49a9e90c918049b4096fbba8.tar.gz
samba-e745d4e602698e0a49a9e90c918049b4096fbba8.tar.bz2
samba-e745d4e602698e0a49a9e90c918049b4096fbba8.zip
struct nmb_name should have 16 byte namestrings, not 17.
Jeremy. (This used to be commit daf7b5fbd93c640c7660bdf173079fa1039794af)
-rw-r--r--source3/include/smb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 61cda9465c..36c53065bc 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1486,9 +1486,9 @@ struct cnotify_fns {
/* A netbios name structure. */
struct nmb_name {
- char name[17];
- char scope[64];
- unsigned int name_type;
+ char name[16];
+ char scope[64];
+ unsigned int name_type;
};