* gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTML
authorDavid Shaw <dshaw@jabberwocky.com>
Fri, 20 Oct 2006 03:56:17 +0000 (03:56 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Fri, 20 Oct 2006 03:56:17 +0000 (03:56 +0000)
coming back from a MR hkp query.

keyserver/ChangeLog
keyserver/gpgkeys_hkp.c

index 4f9229c..86e2649 100644 (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-09-28  David Shaw  <dshaw@jabberwocky.com>
 
        * Makefile.am: Link gpgkeys_ldap to libcompat.a.
index 1692a50..4b6dc81 100644 (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;
     }