fix previous commit

This commit is contained in:
Pierangelo Masarati 2006-05-19 23:33:15 +00:00
parent 9de3d9c277
commit 80dfb95241

View file

@ -241,7 +241,7 @@ retry:
*/
rc = ldap_parse_result( lc->lc_ld, res, &rs->sr_err,
(char **)&rs->sr_matched,
text,
&text,
NULL, NULL, 0 );
if ( rc == LDAP_SUCCESS ) {
if ( rs->sr_err == LDAP_SUCCESS ) {