mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
semicolon after colon in goto labels; no C++ style comments
This commit is contained in:
parent
9a0b6e92d7
commit
a712216a6c
@ -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"
|
||||
|
@ -244,7 +244,7 @@ rewrite_session(
|
||||
}
|
||||
}
|
||||
|
||||
rc_return:
|
||||
rc_return:;
|
||||
if ( op.lo_vars ) {
|
||||
rewrite_var_delete( op.lo_vars );
|
||||
}
|
||||
|
@ -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 );
|
||||
|
@ -696,7 +696,7 @@ rewrite_xmap_apply(
|
||||
}
|
||||
}
|
||||
|
||||
rc_return:
|
||||
rc_return:;
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
@ -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!
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user