]> git.sur5r.net Git - openldap/commitdiff
Fix error messages
authorHoward Chu <hyc@openldap.org>
Wed, 12 Mar 2003 21:16:43 +0000 (21:16 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 12 Mar 2003 21:16:43 +0000 (21:16 +0000)
servers/slapd/back-bdb/delete.c

index 079b44081ca4e2b3155167a3924e99be92b35422..6d8273ba27e88845e28bb8fd1f3523247235d0d0 100644 (file)
@@ -385,7 +385,7 @@ retry:      /* transaction retry */
                case DB_LOCK_NOTGRANTED:
                        goto retry;
                default:
-                       rc = LDAP_OTHER;
+                       ;
                }
 #ifdef NEW_LOGGING
                LDAP_LOG ( OPERATION, ERR, 
@@ -396,6 +396,7 @@ retry:      /* transaction retry */
                        db_strerror(rc), rc, 0 );
 #endif
                text = "DN index delete failed";
+               rc = LDAP_OTHER;
                goto return_results;
        }
 
@@ -407,7 +408,7 @@ retry:      /* transaction retry */
                case DB_LOCK_NOTGRANTED:
                        goto retry;
                default:
-                       rc = LDAP_OTHER;
+                       ;
                }
 #ifdef NEW_LOGGING
                LDAP_LOG ( OPERATION, ERR, 
@@ -419,6 +420,7 @@ retry:      /* transaction retry */
                        db_strerror(rc), rc, 0 );
 #endif
                text = "entry delete failed";
+               rc = LDAP_OTHER;
                goto return_results;
        }
 
@@ -430,7 +432,7 @@ retry:      /* transaction retry */
                case DB_LOCK_NOTGRANTED:
                        goto retry;
                default:
-                       rc = LDAP_OTHER;
+                       ;
                }
 #ifdef NEW_LOGGING
                LDAP_LOG ( OPERATION, ERR, 
@@ -440,6 +442,7 @@ retry:      /* transaction retry */
                        0, 0, 0 );
 #endif
                text = "entry index delete failed";
+               rc = LDAP_OTHER;
                goto return_results;
        }