aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--lib/formdata.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 7c0083092..3de71de50 100644
--- 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,
diff --git a/lib/formdata.c b/lib/formdata.c
index a42ea5390..6094e8e81 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -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;