diff options
Diffstat (limited to 'mail/dbmail/files/patch-0023-Update-ldap-deprecated-unbind')
-rw-r--r-- | mail/dbmail/files/patch-0023-Update-ldap-deprecated-unbind | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/dbmail/files/patch-0023-Update-ldap-deprecated-unbind b/mail/dbmail/files/patch-0023-Update-ldap-deprecated-unbind new file mode 100644 index 000000000000..7b1bf9d23c47 --- /dev/null +++ b/mail/dbmail/files/patch-0023-Update-ldap-deprecated-unbind @@ -0,0 +1,25 @@ +From de4a37ae92bec56314318647a0561c891fee6e33 Mon Sep 17 00:00:00 2001 +From: Alan Hicks <ahicks@p-o.co.uk> +Date: Mon, 24 Oct 2016 15:13:21 +0100 +Subject: [PATCH 23/33] Update ldap deprecated unbind + +--- + src/modules/authldap.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git src/modules/authldap.c src/modules/authldap.c +index 7fa3a73..9c9d82e 100644 +--- src/modules/authldap.c ++++ src/modules/authldap.c +@@ -173,7 +173,7 @@ static void authldap_free(gpointer data) + memset(&oldact, 0, sizeof(oldact)); + act.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &act, &oldact); +- ldap_unbind(c); ++ ldap_unbind_ext(c, NULL, NULL); + sigaction(SIGPIPE, &oldact, 0); + } + +-- +2.10.1 (Apple Git-78) + |