From 71e0359f377471042557aae613993f96a182349a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 22 May 2003 05:41:13 +0000 Subject: [PATCH] Back out last change... I forget ber_get_next eats a sequence --- libraries/liblber/etest.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/liblber/etest.c b/libraries/liblber/etest.c index 05273d0005..25db4cdc5d 100644 --- a/libraries/liblber/etest.c +++ b/libraries/liblber/etest.c @@ -90,6 +90,10 @@ main( int argc, char **argv ) } fprintf(stderr, "encode: start\n" ); + if( ber_printf( ber, "{" /*}*/ ) ) { + perror( "ber_printf {" /*}*/ ); + return( EXIT_FAILURE ); + } for ( s = argv[1]; *s; s++ ) { char *buf; @@ -140,6 +144,10 @@ main( int argc, char **argv ) } fprintf(stderr, "encode: end\n" ); + if( ber_printf( ber, /*{*/ "N}" ) == -1 ) { + perror( /*{*/ "ber_printf }" ); + return( EXIT_FAILURE ); + } if ( ber_flush( sb, ber, 1 ) == -1 ) { perror( "ber_flush" ); -- 2.39.5