From: Pierangelo Masarati Date: Tue, 28 Dec 2004 22:48:43 +0000 (+0000) Subject: fix previous commit (for compilers that require at least one statement after a label) X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=564d1a6affbe9ae4d9c20feb9a99936f4dcf0e3e;p=openldap fix previous commit (for compilers that require at least one statement after a label) --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index ccd23ee7cd..4ac1bde3c0 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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 ) {