From: Pierangelo Masarati Date: Thu, 13 Oct 2005 22:43:46 +0000 (+0000) Subject: temporarily fix ITS#4086 X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~273 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=001e5655771c2a8329db4c432ad08e9d5296b475;p=openldap temporarily fix ITS#4086 --- diff --git a/servers/slapd/overlays/rwmmap.c b/servers/slapd/overlays/rwmmap.c index 4c573f3b42..3dccacd07e 100644 --- a/servers/slapd/overlays/rwmmap.c +++ b/servers/slapd/overlays/rwmmap.c @@ -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;