* gpgkeys_ldap.c (send_key): Missing a free().
authorDavid Shaw <dshaw@jabberwocky.com>
Sun, 11 Feb 2007 03:56:59 +0000 (03:56 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sun, 11 Feb 2007 03:56:59 +0000 (03:56 +0000)
* curl-shim.c (curl_easy_perform): Some debugging items that may be
handy.

keyserver/ChangeLog
keyserver/curl-shim.c
keyserver/gpgkeys_ldap.c

index 7d2cb6c..0c009e2 100644 (file)
@@ -1,3 +1,10 @@
+2007-02-10  David Shaw  <dshaw@jabberwocky.com>
+
+       * gpgkeys_ldap.c (send_key): Missing a free().
+
+       * curl-shim.c (curl_easy_perform): Some debugging items that may
+       be handy.
+
 2007-01-16  David Shaw  <dshaw@jabberwocky.com>
 
        * curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() to
index 3d9d109..d8b3da8 100644 (file)
@@ -173,7 +173,14 @@ curl_easy_perform(CURL *curl)
     proxy=getenv(HTTP_PROXY_ENV);
 
   if(curl->flags.verbose)
-    fprintf(curl->errors,"* HTTP proxy is \"%s\"\n",proxy?proxy:"null");
+    {
+      fprintf(curl->errors,"* HTTP proxy is \"%s\"\n",proxy?proxy:"null");
+      fprintf(curl->errors,"* HTTP URL is \"%s\"\n",curl->url);
+      fprintf(curl->errors,"* HTTP auth is \"%s\"\n",
+             curl->auth?curl->auth:"null");
+      fprintf(curl->errors,"* HTTP method is %s\n",
+             curl->flags.post?"POST":"GET");
+    }
 
   if(curl->flags.post)
     {
index 1cc27f4..1f74d7b 100644 (file)
@@ -782,6 +782,7 @@ send_key(int *eof)
   free(modlist);
   free(addlist);
   free(dn);
+  free(key);
 
   if(ret!=0 && begin)
     fprintf(output,"KEY %s FAILED %d\n",keyid,ret);