]> git.sur5r.net Git - openldap/commitdiff
fix response code mapping
authorPierangelo Masarati <ando@openldap.org>
Mon, 8 Jan 2007 00:13:28 +0000 (00:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 8 Jan 2007 00:13:28 +0000 (00:13 +0000)
servers/slapd/back-meta/search.c

index 94aafeead06917367fde857e95eefb4b06279196..595fde672d941dcfa0dea64caba41a40570d8fa8 100644 (file)
@@ -323,6 +323,7 @@ other:;
                        LDAP_BACK_CONN_TAINTED_SET( mc );
                        meta_back_release_conn_lock( op, mc, 0 );
                        *mcp = NULL;
+                       rs->sr_err = rc;
 
                        retcode = META_SEARCH_ERR;