From 3e20bda971d503b540ee9dada16c10ace100fe13 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 12 Aug 2009 22:12:15 +0000 Subject: [PATCH] Trying again: No need to maintain ber->ber_usertag except at ber_printf "!" --- libraries/liblber/encode.c | 2 -- 1 file changed, 2 deletions(-) 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 */ -- 2.39.5