]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
David McCreedy fixed a build error when building libcurl with HTTP disabled,
authorDaniel Stenberg <daniel@haxx.se>
Thu, 20 Jul 2006 20:04:52 +0000 (20:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 20 Jul 2006 20:04:52 +0000 (20:04 +0000)
problem added with the curl_formget() patch.

CHANGES
lib/formdata.c

diff --git a/CHANGES b/CHANGES
index 7c008309224841eb6ee7273107dac17da80a6dce..3de71de50493f43dac5ec80cdfb7470a12a7715e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
 
                                   Changelog
 
+Daniel (20 July 2006)
+- David McCreedy fixed a build error when building libcurl with HTTP disabled,
+  problem added with the curl_formget() patch.
+
 Daniel (17 July 2006)
 - Jari Sundell did some excellent research and bug tracking, figured out that
   we did wrong and patched it: When nodes were removed from the splay tree,
index a42ea5390376ea1f2ef93e40fbedf8a7def18fc2..6094e8e8176c48c2f28c15b00ee413ca363743b4 100644 (file)
@@ -1574,10 +1574,10 @@ CURLFORMcode curl_formadd(struct curl_httppost **httppost,
   return CURL_FORMADD_DISABLED;
 }
 
-CURLFORMCode curl_formget(struct curl_httppost *post, void *arg,
-                          curl_formget_callback append)
+int curl_formget(struct curl_httppost *form, void *arg,
+                 curl_formget_callback append)
 {
-  (void) post;
+  (void) form;
   (void) arg;
   (void) append;
   return CURL_FORMADD_DISABLED;