diff options
author | Gerald Carter <jerry@samba.org> | 2000-08-05 18:58:45 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-08-05 18:58:45 +0000 |
commit | 139dcbb0bfcf648f18646dcbf0b7b4281c5d4490 (patch) | |
tree | b4e63ba892d9f0b6e40fa90191f9c69b65ee2f87 /source3/rpc_parse | |
parent | 754f021fc73646887550da5a9813115229c779a8 (diff) | |
download | samba-139dcbb0bfcf648f18646dcbf0b7b4281c5d4490.tar.gz samba-139dcbb0bfcf648f18646dcbf0b7b4281c5d4490.tar.xz samba-139dcbb0bfcf648f18646dcbf0b7b4281c5d4490.zip |
Fixed bug in init_unistr2_from_unistr() found by Elrond.
Thanks :-)
j-
(This used to be commit 4ecd15cd5851e94808756e3da0ce6a066f0a0cd7)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index c0b700c908a..73ea4b10d27 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -885,7 +885,7 @@ void init_unistr2_from_unistr (UNISTR2 *to, UNISTR *from) found = False; while (!found) { - if ((from->buffer)[i]=='\0' && (from->buffer)[(2*i)+1]=='\0') + if (from->buffer)[i]=='\0') found = True; else i++; |