From: Hallvard Furuseth Date: Wed, 12 Aug 2009 22:12:15 +0000 (+0000) Subject: Trying again: No need to maintain ber->ber_usertag except at ber_printf "!" X-Git-Tag: ACLCHECK_0~347 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e20bda971d503b540ee9dada16c10ace100fe13;p=openldap Trying again: No need to maintain ber->ber_usertag except at ber_printf "!" --- diff --git a/libraries/liblber/encode.c b/libraries/liblber/encode.c index a2098326d4..a5c1de0286 100644 --- a/libraries/liblber/encode.c +++ b/libraries/liblber/encode.c @@ -526,7 +526,6 @@ ber_printf( BerElement *ber, LDAP_CONST char *fmt, ... ) rc = (*f)( ber, p ); if ( ber->ber_usertag ) { - ber->ber_usertag = 0; goto next; } } break; @@ -584,7 +583,6 @@ ber_printf( BerElement *ber, LDAP_CONST char *fmt, ... ) case 't': /* tag for the next element */ ber->ber_tag = va_arg( ap, ber_tag_t ); - ber->ber_usertag = 1; goto next; case 'v': /* vector of strings */