mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
unicode string length is twice longer ;-)
(This used to be commit d39d8429d1cb8a976022ae92a1ce551f7d876aff)
This commit is contained in:
parent
22325f6fdb
commit
0a33bdc7bd
@ -114,7 +114,7 @@ void unistr2_to_ascii(char *dest, const UNISTR2 *str, size_t maxlen)
|
|||||||
*dest='\0';
|
*dest='\0';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pull_ucs2(NULL, dest, str->buffer, maxlen, str->uni_str_len, STR_NOALIGN);
|
pull_ucs2(NULL, dest, str->buffer, maxlen, str->uni_str_len*2, STR_NOALIGN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user