summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap-auth-ldap/patches/patch-aa')
-rw-r--r--www/ap-auth-ldap/patches/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/ap-auth-ldap/patches/patch-aa b/www/ap-auth-ldap/patches/patch-aa
new file mode 100644
index 00000000000..028cac4296b
--- /dev/null
+++ b/www/ap-auth-ldap/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/01/02 20:52:09 joerg Exp $
+
+--- auth_ldap.c.orig 2006-01-02 20:47:58.000000000 +0000
++++ auth_ldap.c
+@@ -169,7 +169,6 @@ auth_ldap_connect_to_server(request_rec
+ "{%d} LDAP OP: init", (int)getpid());
+
+ if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
+- extern int errno;
+ auth_ldap_log_reason(r, "Could not connect to LDAP server: %s", strerror(errno));
+ return 0;
+ }