From: Luke Howard Date: Sat, 18 Oct 2003 15:59:58 +0000 (+0000) Subject: ITS#2777 - fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~547 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32a9ad1be8aa9608509fb027aa6791fe102bdc8e;p=openldap ITS#2777 - fix previous commit --- diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 00f092c68a..563a68ee24 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -30,7 +30,11 @@ #include #endif +#if 1 +#define SASL_MAX_BUFF_SIZE 262144 +#else #define SASL_MAX_BUFF_SIZE 65536 +#endif #define SASL_MIN_BUFF_SIZE 4096 #endif diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index a5a9a7ab35..2d9ae0e166 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -808,9 +808,11 @@ lr->lr_res_matched ? lr->lr_res_matched : "" ); ldap_free_request( ld, lr ); } +#if 0 if ( lc != NULL ) { ldap_free_connection( ld, lc, 0, 1 ); } +#endif } } diff --git a/libraries/libldap/test.c b/libraries/libldap/test.c index 642e804dc8..1d24586a5d 100644 --- a/libraries/libldap/test.c +++ b/libraries/libldap/test.c @@ -59,7 +59,6 @@ get_line( char *line, int len, FILE *fp, const char *prompt ) return( line ); } -#endif static char ** get_list( const char *prompt )