ports/mail/perdition/files/patch-perdition-db-ldap-perditiondb_ldap
Clement Laforet b6dc8ffaa9 - Update perdition to 1.17
- Pass maintainership of perdition and libvanessa* to submitter

Submitted by:		Thomas Vogt <thomas@bsdunix.ch>
Also submitted by:	TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> [1]
PR:			ports/83305 [1]
2005-12-19 10:06:19 +00:00

18 lines
651 B
Text

--- perdition/db/ldap/perditiondb_ldap.c.orig Tue Dec 6 22:32:57 2005
+++ perdition/db/ldap/perditiondb_ldap.c Tue Dec 6 22:38:31 2005
@@ -334,9 +334,12 @@
}
/* Open LDAP connection */
-#if defined(LDAP_API_FEATURE_X_OPENLDAP) && (LDAP_API_VERSION > 2000)
- if (ldap_initialize(&connection, pldap_filter) != LDAP_SUCCESS) {
- VANESSA_LOGGER_DEBUG_ERRNO("ldap_initialize");
+#if 0
+//#if defined(LDAP_API_FEATURE_X_OPENLDAP) && (LDAP_API_VERSION > 2000)
+ err = ldap_initialize(&connection, pldap_filter);
+ if (err != LDAP_SUCCESS) {
+ VANESSA_LOGGER_DEBUG_UNSAFE("ldap_initialize: %s",
+ ldap_err2string(err));
goto leave;
}
#else