extract at least result code

This commit is contained in:
Pierangelo Masarati 2010-08-29 01:25:36 +00:00
parent ac4b38ac39
commit 15bcbdbc32

View File

@ -516,6 +516,8 @@ retry:;
case LDAP_RES_SEARCH_RESULT:
/* just remove, no error checking (TODO?) */
msgid = ldap_msgid( res );
ldap_parse_result( ld, res, &rc, NULL, NULL, NULL, NULL, 1 );
res = NULL;
/* linear search, bah */
for ( j = 0; j < i; j++ ) {