]> git.sur5r.net Git - openldap/commitdiff
temporarily fix ITS#4086
authorPierangelo Masarati <ando@openldap.org>
Thu, 13 Oct 2005 22:43:46 +0000 (22:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 13 Oct 2005 22:43:46 +0000 (22:43 +0000)
servers/slapd/overlays/rwmmap.c

index 4c573f3b423388f0ca1a2cc0d40149f2e496430b..3dccacd07eab64d39e60a70465e7785ed5b42f83 100644 (file)
@@ -722,8 +722,8 @@ rwm_filter_map_rewrite(
        rc = rwm_int_filter_map_rewrite( dc, f, fstr );
 
 #ifdef ENABLE_REWRITE
-       if ( rc != LDAP_SUCCESS ) {
-               return rc;
+       if ( rc != 0 ) {
+               return LDAP_OTHER;
        }
 
        fdc = *dc;