]> git.sur5r.net Git - openldap/commitdiff
Trying again: No need to maintain ber->ber_usertag except at ber_printf "!"
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 12 Aug 2009 22:12:15 +0000 (22:12 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 12 Aug 2009 22:12:15 +0000 (22:12 +0000)
libraries/liblber/encode.c

index a2098326d4013e7d9d6511d20ead03bc6a571de3..a5c1de0286aec974b5857a0cf59569ecf1a0436e 100644 (file)
@@ -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 */