diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-19 04:08:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-19 04:08:37 +0000 |
commit | 06d88879038618949e603f7c56773536e95bab4d (patch) | |
tree | 3f2ef745373e7970ff7de8d22ff7d61fe65efd8e /source/libsmb | |
parent | 8dd61f715ac4e965e7c971509a42f60fd6680d4e (diff) | |
download | samba-06d88879038618949e603f7c56773536e95bab4d.tar.gz samba-06d88879038618949e603f7c56773536e95bab4d.tar.xz samba-06d88879038618949e603f7c56773536e95bab4d.zip |
Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r-- | source/libsmb/nmblib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c index 7f3bcc9642a..14dc5ecee2a 100644 --- a/source/libsmb/nmblib.c +++ b/source/libsmb/nmblib.c @@ -218,10 +218,11 @@ static int parse_nmb_name(char *inbuf,int offset,int length, struct nmb_name *na /* now the domain parts (if any) */ n = 0; - while ((m=ubuf[offset])) { + while (ubuf[offset]) { /* we can have pointers within the domain part as well */ if (!handle_name_ptrs(ubuf,&offset,length,&got_pointer,&ret)) return(0); + m = ubuf[offset]; if (!got_pointer) ret += m+1; if (n) name->scope[n++] = '.'; if (m+2+offset>length || n+m+1>sizeof(name->scope)) return(0); |