diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-07-15 10:54:35 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-07-15 10:54:35 +0000 |
commit | 04de6bbc8055e5547af41b10e284b722f40e726d (patch) | |
tree | d776a914d94179b21f35161a3737982d8f7eaade /source/wrepld | |
parent | 67a3ca2f235e011472dbe505ce7c34b26f92c44c (diff) | |
download | samba-04de6bbc8055e5547af41b10e284b722f40e726d.tar.gz samba-04de6bbc8055e5547af41b10e284b722f40e726d.tar.xz samba-04de6bbc8055e5547af41b10e284b722f40e726d.zip |
fixed a number of real bugs found by warnings on the 64 bit irix compiler
Diffstat (limited to 'source/wrepld')
-rw-r--r-- | source/wrepld/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/wrepld/parser.c b/source/wrepld/parser.c index f5b9be67277..b619cb0cef5 100644 --- a/source/wrepld/parser.c +++ b/source/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; |