From: Howard Chu Date: Fri, 23 May 2003 01:23:53 +0000 (+0000) Subject: Don't re-cache IDL's retrieved from the cache X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~69 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=505838469d0952c3767a43da0e1a573469a4dd9d;p=openldap Don't re-cache IDL's retrieved from the cache --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 1c8cf332ba..865d5ae07c 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -898,7 +898,7 @@ hdb_dn2idl_internal( return cx->rc; } if ( cx->rc == LDAP_SUCCESS ) { - goto saveit; + goto gotit; } } #endif @@ -949,6 +949,8 @@ saveit: bdb_idl_cache_put( cx->bdb, cx->db, &cx->key, cx->tmp, cx->rc ); } #endif + ; +gotit: if ( cx->rc == 0 ) { if ( cx->prefix == DN_SUBTREE_PREFIX ) { ID *save, idcurs;