--- libraries/libldap/result.c 1998/11/23 00:46:32 1.16 +++ libraries/libldap/result.c 1998/12/24 05:00:53 1.17 @@ -94,6 +94,7 @@ ldap_result( LDAP *ld, int msgid, int al if ( all == 0 || (lm->lm_msgtype != LDAP_RES_SEARCH_RESULT + && lm->lm_msgtype != LDAP_RES_SEARCH_REFERENCE /* LDAPv3 */ && lm->lm_msgtype != LDAP_RES_SEARCH_ENTRY) ) break;