Skip to content
Snippets Groups Projects
Commit 71e0359f authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Back out last change... I forget ber_get_next eats a sequence

parent 6035ecfe
Branches
Tags
No related merge requests found
......@@ -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" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment