From 32a9ad1be8aa9608509fb027aa6791fe102bdc8e Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 18 Oct 2003 15:59:58 +0000 Subject: [PATCH] ITS#2777 - fix previous commit --- libraries/libldap/ldap-int.h | 4 ++++ libraries/libldap/result.c | 2 ++ libraries/libldap/test.c | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) 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 ) -- 2.39.5