]> git.sur5r.net Git - openldap/commitdiff
fix previous commit (for compilers that require at least one statement after a label)
authorPierangelo Masarati <ando@openldap.org>
Tue, 28 Dec 2004 22:48:43 +0000 (22:48 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 28 Dec 2004 22:48:43 +0000 (22:48 +0000)
servers/slapd/connection.c

index ccd23ee7cd9423dd284b87dd8bd6eaa544102fa4..4ac1bde3c04a4023b66cd71873ac65b6095262ee 100644 (file)
@@ -1040,7 +1040,7 @@ operations_error:
        case LDAP_REQ_DELETE:
                INCR_OP_COMPLETED(SLAP_OP_DELETE);
                break;
-       case LDAP_REQ_MODRDN:
+       case LDAP_REQ_MODDN:
                INCR_OP_COMPLETED(SLAP_OP_MODRDN);
                break;
        case LDAP_REQ_MODIFY:
@@ -1062,10 +1062,12 @@ operations_error:
                /* this is reachable */
 #if 0
                /* not reachable */
-               assert( 0 );
+               assert( 0 )
 #endif
+                       ;
        }
 #endif /* SLAPD_MONITOR */
+
        ldap_pvt_thread_mutex_unlock( &slap_counters.sc_ops_mutex );
 
        if ( op->o_cancel == SLAP_CANCEL_REQ ) {