Skip to content
Snippets Groups Projects
Commit 76a91e7f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

More for ITS#5720

parent 01c32a93
No related branches found
No related tags found
No related merge requests found
......@@ -191,8 +191,8 @@ ldap_str2charray( const char *str_in, const char *brkstr )
}
i = 1;
for ( s = str; *s; LDAP_UTF8_INCR(s) ) {
s = ldap_utf8_strchr( s, brkstr );
for ( s = str; ; LDAP_UTF8_INCR(s) ) {
s = ldap_utf8_strpbrk( s, brkstr );
if ( !s ) break;
i++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment