INN commit: branches/2.5/innfeed (imap_connection.c)

INN Commit rra at isc.org
Sat May 2 15:33:04 UTC 2015


    Date: Saturday, May 2, 2015 @ 08:33:04
  Author: iulius
Revision: 9838

innfeed/imap_connection.c:  fix support of Cyrus SASL 2.1.25 and later

Fix how sasl_callback_ft, added with Cyrus SASL 2.1.25, was handled
by innfeed.  See revision [9381] for more information.

Thanks to Dennis Preiser for the report.

Modified:
  branches/2.5/innfeed/imap_connection.c

-------------------+
 imap_connection.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: imap_connection.c
===================================================================
--- imap_connection.c	2015-05-02 15:32:10 UTC (rev 9837)
+++ imap_connection.c	2015-05-02 15:33:04 UTC (rev 9838)
@@ -49,8 +49,8 @@
 # include <sasl/sasl.h>
 # include <sasl/saslplug.h>
 # include <sasl/saslutil.h>
-/* For Cyrus SASL versions < 2.1.24. */
-# ifndef sasl_callback_ft
+/* For Cyrus SASL versions < 2.1.25 (in hexadecimal notation below). */
+# if !defined (SASL_VERSION_FULL) || SASL_VERSION_FULL < 0x020119
 typedef int (*sasl_callback_ft)(void);
 # endif
 #endif



More information about the inn-committers mailing list