]> git.sur5r.net Git - openldap/commitdiff
fix referrals return
authorPierangelo Masarati <ando@openldap.org>
Mon, 7 Apr 2003 23:21:55 +0000 (23:21 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 7 Apr 2003 23:21:55 +0000 (23:21 +0000)
servers/slapd/back-sql/search.c

index 7aa0dcb0e1c58183519753b931df1cfafe6e7a06..eee527913fb17def6b7ecc1e377a1901dfbba01b 100644 (file)
@@ -1206,7 +1206,7 @@ backsql_search( Operation *op, SlapReply *rs )
 
                        rs->sr_err = LDAP_REFERRAL;
                        rs->sr_matched = matched_dn.bv_val;
-                       send_ldap_result( op, rs );
+                       send_search_reference( op, rs );
 
                        ber_bvarray_free( rs->sr_ref );
                        rs->sr_ref = NULL;