mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
cleanup
This commit is contained in:
parent
1c0d2ad7ae
commit
9686c7ce99
1 changed files with 2 additions and 2 deletions
|
|
@ -129,8 +129,8 @@ ldap_x_utf8s_to_wcs ( wchar_t *wcstr, const char *utf8str, size_t count )
|
|||
wchar_t ch;
|
||||
|
||||
|
||||
/* If input ptr is NULL, treat it as empty string. */
|
||||
if (utf8str == NULL) {
|
||||
/* If input ptr is NULL or empty... */
|
||||
if (utf8str == NULL || !*utf8str) {
|
||||
if ( wcstr )
|
||||
*wcstr = 0;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue