This commit is contained in:
Kurt Zeilenga 2003-05-22 05:32:06 +00:00
parent a08e72a9e8
commit df1381fa38
3 changed files with 3 additions and 2 deletions

View file

@ -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)();

View file

@ -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",

View file

@ -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 );