1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* gpgkeys_ldap.c (ldap_to_gpg_err): Make sure that LDAP_OPT_ERROR_NUMBER

is defined before we use it.

* gpgkeys_mailto.in: Fix VERSION number.
This commit is contained in:
David Shaw 2004-02-18 23:05:47 +00:00
parent 2ecb28c51b
commit f3de3a5eb9
3 changed files with 14 additions and 6 deletions

View file

@ -86,7 +86,7 @@ ldap_err_to_gpg_err(int err)
int
ldap_to_gpg_err(LDAP *ld)
{
#if defined(HAVE_LDAP_GET_OPTION)
#if defined(HAVE_LDAP_GET_OPTION) && defined(LDAP_OPT_ERROR_NUMBER)
int err;