From 0b0c178c1a08596842a680f83470b6260d1636f0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 9 Aug 1998 03:08:09 +0000 Subject: [PATCH] LDAPworldP16: Search responses may not be returned properly --- libraries/libldap/result.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.39.5