summaryrefslogtreecommitdiff
path: root/source3/wrepld
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 11:16:26 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 11:16:26 +0000
commitb0b28531c8cd76d3fcd95da08389d8a4d2e631a3 (patch)
treef6a31e883573fc26a93e6bc0529d36eefe734eae /source3/wrepld
parente90b65284812aaa5ff9e9935ce9bbad7791cbbcd (diff)
downloadsamba-b0b28531c8cd76d3fcd95da08389d8a4d2e631a3.tar.gz
samba-b0b28531c8cd76d3fcd95da08389d8a4d2e631a3.tar.bz2
samba-b0b28531c8cd76d3fcd95da08389d8a4d2e631a3.zip
more bug updates from head
(This used to be commit 8b769bf5bbbe54b1a39fd85cc24db09c1ab7faab)
Diffstat (limited to 'source3/wrepld')
-rw-r--r--source3/wrepld/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wrepld/parser.c b/source3/wrepld/parser.c
index f5b9be6727..b619cb0cef 100644
--- a/source3/wrepld/parser.c
+++ b/source3/wrepld/parser.c
@@ -96,7 +96,7 @@ static void decode_wins_name(struct BUFFER *outbuf, WINS_NAME *wins_name)
wins_name->name_len=RIVAL(outbuf->buffer, outbuf->offset);
outbuf->offset+=4;
memcpy(wins_name->name,outbuf->buffer+outbuf->offset, 15);
- wins_name->name[16]='\0';
+ wins_name->name[15]='\0';
if((p = strchr(wins_name->name,' ')) != NULL)
*p = 0;