Commit 99186a90 authored by Howard Chu's avatar Howard Chu
Browse files

Fix prev commit

parent f6a49e6b
......@@ -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++;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment