]> granicus.if.org Git - sudo/commitdiff
fix LDAP_OPT_X_CONNECT_TIMEOUT compat define
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Dec 2007 21:41:58 +0000 (21:41 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Dec 2007 21:41:58 +0000 (21:41 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index c3d55331b1557d269e6f78276de4e5e392f8b92c..5a3bd6826856ac20c019294169320d9fe8c7806f 100644 (file)
--- a/ldap.c
+++ b/ldap.c
@@ -89,7 +89,7 @@ __unused static const char rcsid[] = "$Sudo$";
 #endif
 
 #if defined(LDAP_X_OPT_CONNECT_TIMEOUT) && !defined(LDAP_OPT_X_CONNECT_TIMEOUT)
-#define LDAP_OPT_X_CONNECT_TIMEOUT     LDAP_OPT_X_CONNECT_TIMEOUT
+#define LDAP_OPT_X_CONNECT_TIMEOUT     LDAP_X_OPT_CONNECT_TIMEOUT
 #endif
 
 #define LDAP_FOREACH(var, ld, res)                                     \