From: Howard Chu Date: Tue, 30 Sep 2008 22:22:31 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: ACLCHECK_0~1301 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=99186a90e0e9ec1a890b3616e413237a74f3871e;p=openldap Fix prev commit --- diff --git a/libraries/libldap/charray.c b/libraries/libldap/charray.c index b679f75d83..b9ad8037af 100644 --- a/libraries/libldap/charray.c +++ b/libraries/libldap/charray.c @@ -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++; }