* gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTML

coming back from a MR hkp query.
This commit is contained in:
David Shaw 2006-10-20 04:00:19 +00:00
parent df52700f5c
commit 11935a4c18
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-10-19 David Shaw <dshaw@jabberwocky.com>
* 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 <wk@g10code.com>
* Makefile.am: Removed W32LIBS as they are included in NETLIBS.

View File

@ -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;
}