From: Kurt Zeilenga Date: Sun, 9 Aug 1998 03:08:09 +0000 (+0000) Subject: LDAPworldP16: Search responses may not be returned properly X-Git-Tag: LDAP_3_3+prerelease~27^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b0c178c1a08596842a680f83470b6260d1636f0;p=openldap LDAPworldP16: Search responses may not be returned properly --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index 90698939d6..fdf8dedf07 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -542,7 +542,11 @@ lr->lr_res_matched ? lr->lr_res_matched : "" ); prev->lm_next = l->lm_next; *result = l; ld->ld_errno = LDAP_SUCCESS; +#ifndef ultrix + return( l->lm_msgtype ); +#else return( tag ); +#endif } return( -2 ); /* continue looking */