semicolon after colon in goto labels; no C++ style comments

This commit is contained in:
Pierangelo Masarati 2001-06-03 08:52:22 +00:00
parent 9a0b6e92d7
commit a712216a6c
5 changed files with 8 additions and 8 deletions

View File

@ -396,11 +396,11 @@ rewrite_context_apply(
}
rc_continue: /* sent here by actions that require to continue */
rc_continue:; /* sent here by actions that require to continue */
}
rc_end_of_context:
rc_end_of_context:;
*result = res;
Debug( LDAP_DEBUG_TRACE, "==> rewrite_context_apply"

View File

@ -244,7 +244,7 @@ rewrite_session(
}
}
rc_return:
rc_return:;
if ( op.lo_vars ) {
rewrite_var_delete( op.lo_vars );
}

View File

@ -250,7 +250,7 @@ map_ldap_apply(
goto rc_return;
}
do_bind:
do_bind:;
if ( data->binddn != NULL ) {
rc = ldap_simple_bind_s( ld, data->binddn, data->bindpw );
if ( rc == LDAP_SERVER_DOWN && first_try ) {
@ -316,7 +316,7 @@ do_bind:
}
val->bv_len = strlen( val->bv_val );
rc_return:
rc_return:;
if ( data->when == MAP_LDAP_EVERYTIME ) {
if ( ld != NULL ) {
ldap_unbind_s( ld );

View File

@ -696,7 +696,7 @@ rewrite_xmap_apply(
}
}
rc_return:
rc_return:;
return rc;
}

View File

@ -269,7 +269,7 @@ rewrite_rule_compile(
*/
rule = calloc( sizeof( struct rewrite_rule ), 1 );
if ( rule == NULL ) {
// charray_free( res );
/* charray_free( res ); */
/*
* XXX need to free the value subst stuff!
*/
@ -280,7 +280,7 @@ rewrite_rule_compile(
* REGEX compilation (luckily I don't need to take care of this ...)
*/
if ( regcomp( &rule->lr_regex, ( char * )pattern, flags ) != 0 ) {
// charray_free( res );
/* charray_free( res ); */
/*
*XXX need to free the value subst stuff!
*/