diff options
-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++; |