From: Howard Chu Date: Sat, 22 Feb 2003 01:49:55 +0000 (+0000) Subject: Change "goto leave" to "goto exit" to avoid DEC namespace pollution X-Git-Tag: NO_SLAP_OP_BLOCKS~320 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=747265419dc2c9e2602760f921a14691727f63b6;p=openldap Change "goto leave" to "goto exit" to avoid DEC namespace pollution --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index 28f20e6b28..3a08998188 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -853,12 +853,12 @@ lr->lr_res_matched ? lr->lr_res_matched : "" ); if ( l == NULL ) { if ( foundit ) { *result = new; - goto leave; + goto exit; } new->lm_next = ld->ld_responses; ld->ld_responses = new; - goto leave; + goto exit; } #ifdef NEW_LOGGING @@ -888,7 +888,7 @@ lr->lr_res_matched ? lr->lr_res_matched : "" ); *result = l; } -leave: +exit: if ( foundit ) { ld->ld_errno = LDAP_SUCCESS; return( tag );