aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-07-20 20:04:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-07-20 20:04:52 +0000
commit27c0b438976d0f964b3b6ee126d985759da06662 (patch)
tree2c33dc680a7953c5bf9fda69a871c591312577e4 /lib/formdata.c
parentd46de5ab8bcc3b95d84b98a8248312a573c45005 (diff)
David McCreedy fixed a build error when building libcurl with HTTP disabled,
problem added with the curl_formget() patch.
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c6
1 files changed, 3 insertions, 3 deletions
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;