mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-08 16:04:47 -05:00
cleanup
This commit is contained in:
parent
a08e72a9e8
commit
df1381fa38
3 changed files with 3 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue