diff options
author | Jeremy Allison <jra@samba.org> | 2004-03-13 00:28:53 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-03-13 00:28:53 +0000 |
commit | fd2d4f87d440f24df0adc4cc29f22051536b0dee (patch) | |
tree | 1013336177f8163a9a62571658bac3737f64c0a3 /source3/include | |
parent | 220d663b744107e03a278b564f4e00712a6fcffe (diff) | |
download | samba-fd2d4f87d440f24df0adc4cc29f22051536b0dee.tar.gz samba-fd2d4f87d440f24df0adc4cc29f22051536b0dee.tar.bz2 samba-fd2d4f87d440f24df0adc4cc29f22051536b0dee.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 966e49a48c352563cdd7f75fe2768f2d6612ec7e)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 64c2a38586..500aff997e 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1504,7 +1504,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 { |