aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyserver/ChangeLog4
-rw-r--r--keyserver/gpgkeys_hkp.c2
2 files changed, 6 insertions, 0 deletions
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 <[email protected]>
+
+ * gpgkeys_hkp.c (srv_replace): Fix build warning.
+
2009-05-26 David Shaw <[email protected]>
* 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)