]> git.sur5r.net Git - openldap/commitdiff
ITS#2777 - fix previous commit
authorLuke Howard <lukeh@openldap.org>
Sat, 18 Oct 2003 15:59:58 +0000 (15:59 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 18 Oct 2003 15:59:58 +0000 (15:59 +0000)
libraries/libldap/ldap-int.h
libraries/libldap/result.c
libraries/libldap/test.c

index 00f092c68ac2ec7f7357677fe2aca5161daf7730..563a68ee2412c8d86883f300677c475410322852 100644 (file)
 #include <sasl.h>
 #endif
 
+#if 1
+#define SASL_MAX_BUFF_SIZE     262144
+#else
 #define SASL_MAX_BUFF_SIZE     65536
+#endif
 #define SASL_MIN_BUFF_SIZE     4096
 #endif
 
index a5a9a7ab35e549e5d88c1f0a55f3ef3d07da38cb..2d9ae0e166e2cce7b0a0ccf28d3a897f69aee819 100644 (file)
@@ -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
                }
        }
 
index 642e804dc8cf8196e00ac22a2a8f1c5858bd600b..1d24586a5d556dee3c2ecab90f17e6354420a837 100644 (file)
@@ -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 )