summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-13 00:28:55 +0000
committerJeremy Allison <jra@samba.org>2004-03-13 00:28:55 +0000
commite4a01b392c518d3706d86d4938ac85707fe275e6 (patch)
tree51f4521975981b21edc7ae40a9ba2ca07dbba5cf /source3/include
parentf17b47b7fdd41d4daf16545a177bab9aafb2b14f (diff)
downloadsamba-e4a01b392c518d3706d86d4938ac85707fe275e6.tar.gz
samba-e4a01b392c518d3706d86d4938ac85707fe275e6.tar.bz2
samba-e4a01b392c518d3706d86d4938ac85707fe275e6.zip
First part of patch from moriyama@miraclelinux.com (MORIYAMA Masayuki) to
fix up netbios names with mb strings. Includes reformat of libsmb/nmblib.c so it's readable. Jeremy. (This used to be commit beca3829d1140bf7c2e394993a02dff1f2cf7bbd)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 60be41b12e..835066e263 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1508,7 +1508,8 @@ struct cnotify_fns {
#include "smb_macros.h"
-typedef char nstring[16];
+#define MAX_NETBIOSNAME_LEN 16
+typedef char nstring[MAX_NETBIOSNAME_LEN];
/* A netbios name structure. */
struct nmb_name {