diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-19 04:15:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-19 04:15:23 +0000 |
commit | e204f1d8a3f54cb6bd8549b15a59af9a525b3392 (patch) | |
tree | e57217f274885165e8d6c074b11a43c2389830a3 /source3/libsmb | |
parent | 9579b9823707b9acadfd7bf24d1c540eacf53fc0 (diff) | |
download | samba-e204f1d8a3f54cb6bd8549b15a59af9a525b3392.tar.gz samba-e204f1d8a3f54cb6bd8549b15a59af9a525b3392.tar.bz2 samba-e204f1d8a3f54cb6bd8549b15a59af9a525b3392.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.
(This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/nmblib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c index 7f3bcc9642..14dc5ecee2 100644 --- a/source3/libsmb/nmblib.c +++ b/source3/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); |