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

cleanup

parent a08e72a9
Branches
Tags
No related merge requests found
......@@ -32,9 +32,10 @@ FILE *ber_pvt_err_file = NULL;
*/
BER_ERRNO_FN ber_int_errno_fn = NULL;
static int ber_int_errno = LBER_ERROR_NONE;
int * ber_errno_addr(void)
{
static int ber_int_errno = LBER_ERROR_NONE;
if( ber_int_errno_fn ) {
return (*ber_int_errno_fn)();
......
......@@ -83,7 +83,6 @@ main( int argc, char **argv )
perror( "ber_get_next" );
return( EXIT_FAILURE );
}
printf("decode: message tag 0x%lx and length %ld\n",
......
......@@ -227,6 +227,7 @@ ber_flush( Sockbuf *sb, BerElement *ber, int freeit )
}
while ( towrite > 0 ) {
#define LBER_TRICKLE
#ifdef LBER_TRICKLE
sleep(1);
rc = ber_int_sb_write( sb, ber->ber_rwptr, 1 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment