]> git.sur5r.net Git - openldap/commitdiff
fix error mapping
authorPierangelo Masarati <ando@openldap.org>
Sat, 10 Jun 2006 18:11:52 +0000 (18:11 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 10 Jun 2006 18:11:52 +0000 (18:11 +0000)
servers/slapd/back-meta/bind.c

index 28fee976a7e840368a411ac7d90eb5f766e456b1..85da2afabfee9ab8cbb5b6d18ab5d4c447584fb7 100644 (file)
@@ -348,7 +348,7 @@ retry:;
                }
        }
 
-       return slap_map_api2result( rs );
+       return rs->sr_err = slap_map_api2result( rs );
 }
 
 /*