]> git.sur5r.net Git - openldap/commitdiff
LDAPworldP16: Search responses may not be returned properly
authorKurt Zeilenga <kurt@openldap.org>
Sun, 9 Aug 1998 03:08:09 +0000 (03:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 9 Aug 1998 03:08:09 +0000 (03:08 +0000)
libraries/libldap/result.c

index 90698939d69eba35c26c8fb0e3d411faf4f697d2..fdf8dedf0722abd6536d571f8f242481787a6fba 100644 (file)
@@ -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 */