From 11935a4c18e20acb58be4fcfd9f99163607c578f Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 20 Oct 2006 04:00:19 +0000 Subject: [PATCH] * gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTML coming back from a MR hkp query. --- keyserver/ChangeLog | 5 +++++ keyserver/gpgkeys_hkp.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index a8f3f8956..a8837f58b 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,8 @@ +2006-10-19 David Shaw + + * gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see + HTML coming back from a MR hkp query. + 2006-10-17 Werner Koch * Makefile.am: Removed W32LIBS as they are included in NETLIBS. diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index 1692a5033..4b6dc8157 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -68,7 +68,10 @@ curl_mrindex_writer(const void *ptr,size_t size,size_t nmemb,void *stream) with it on this side of the pipe. */ const char *buf=ptr; if(buf[0]=='<') - swallow=1; + { + fprintf(console,"gpgkeys: unsupported response from keyserver\n"); + swallow=1; + } checked=1; }