]> git.sur5r.net Git - openldap/commitdiff
ITS#5411
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 14 Apr 2008 22:01:31 +0000 (22:01 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 14 Apr 2008 22:01:31 +0000 (22:01 +0000)
servers/slapd/back-ldap/bind.c
servers/slapd/schema_init.c

index ae513a4e38c3af72b18d31e6fb1b9e2da153f9a3..a5ac722314e201cf4e23bee0622054e807116965 100644 (file)
@@ -1480,7 +1480,7 @@ retry:;
                }
 
                rc = 0;
-               goto leave;
+               goto func_leave;
        }
 
        rc = ldap_back_op_result( lc, op, rs, msgid,
@@ -1499,7 +1499,7 @@ done:;
                ldap_set_rebind_proc( lc->lc_ld, li->li_rebind_f, lc );
        }
 
-leave:;
+func_leave:;
        if ( op->o_callback == &cb )
                op->o_callback = cb.sc_next;
        op->o_tag = o_tag;
index c345065d3b34c6d2658d70fe823f205c6894cc6d..ab82c9df50de435893ceac41ab2c94ca60ce015e 100644 (file)
@@ -2239,10 +2239,10 @@ integerIndexer(
                }
                rc = integerVal2Key( &values[i], &keys[i], &itmp, ctx );
                if ( rc )
-                       goto leave;
+                       goto func_leave;
        }
        *keysp = keys;
-leave:
+func_leave:
        if ( itmp.bv_val != ibuf ) {
                slap_sl_free( itmp.bv_val, ctx );
        }
@@ -3142,7 +3142,7 @@ serialNumberAndIssuerNormalize(
        sn2.bv_len = sn.bv_len;
        if ( lutil_str2bin( &sn, &sn2, ctx )) {
                rc = LDAP_INVALID_SYNTAX;
-               goto leave;
+               goto func_leave;
        }
 
        /* make room for sn + "$" */
@@ -3154,7 +3154,7 @@ serialNumberAndIssuerNormalize(
                out->bv_len = 0;
                slap_sl_free( ni.bv_val, ctx );
                rc = LDAP_OTHER;
-               goto leave;
+               goto func_leave;
        }
 
        n = 0;
@@ -3192,7 +3192,7 @@ serialNumberAndIssuerNormalize(
        Debug( LDAP_DEBUG_TRACE, "<<< serialNumberAndIssuerNormalize: <%s>\n",
                out->bv_val, 0, 0 );
 
-leave:
+func_leave:
        if ( stmp != sbuf )
                slap_sl_free( stmp, ctx );
        slap_sl_free( ni.bv_val, ctx );