From 9e9214b944ee8cc5399eecbfc49152a2ba79f5b8 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 20 Oct 2006 03:56:17 +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 4f9229c6f..86e26492f 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-09-28 David Shaw * Makefile.am: Link gpgkeys_ldap to libcompat.a. 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; }