]> git.sur5r.net Git - openldap/commitdiff
Reverse unintended commit
authorKurt Zeilenga <kurt@openldap.org>
Thu, 22 May 2003 05:33:04 +0000 (05:33 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 22 May 2003 05:33:04 +0000 (05:33 +0000)
libraries/liblber/bprint.c
libraries/liblber/io.c

index 760e66bdabb18f5b77d32c190b44c1247e501b34..5ba264ae6f559cde2f95714fc4b22648643e9eb6 100644 (file)
@@ -32,10 +32,9 @@ 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)();
index 09b8b92c077ae0ccf6543f477c5f22ae9b562a50..ecab5860ae3cffbbf558fc92e9c31fec3e5cec7a 100644 (file)
@@ -227,7 +227,6 @@ 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 );