From 0f993bbd656bcbaf0de195413832b20b9af694ad Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 28 May 2009 04:33:10 +0000 Subject: [PATCH] * gpgkeys_hkp.c (srv_replace): Fix build warning. --- keyserver/ChangeLog | 4 ++++ keyserver/gpgkeys_hkp.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 6390c1412..38d65a827 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,7 @@ +2009-05-27 David Shaw + + * gpgkeys_hkp.c (srv_replace): Fix build warning. + 2009-05-26 David Shaw * curl-shim.c (curl_slist_append, curl_slist_free_all): New. diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index 0267425bd..f82831fff 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -490,6 +490,7 @@ fail_all(struct keylist *keylist,int err) } } +#ifdef HAVE_LIBCURL /* If there is a SRV record, take the highest ranked possibility. This is a hack, as we don't proceed downwards. */ static void @@ -532,6 +533,7 @@ srv_replace(void) } #endif } +#endif static void show_help (FILE *fp)