aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-13 08:59:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-13 08:59:37 +0000
commit8f1783b8a786a43d105b26fcac288fb3c3a45183 (patch)
tree02f4ef3ef862fbe1dc8a83dd10492634fb3c30af /lib
parentbe72eaa327359317568cb5a2549c103826f7e071 (diff)
provide curl_formfree() even when http is disabled, it does nothing then
Diffstat (limited to 'lib')
-rw-r--r--lib/formdata.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 28837bc73..8fb6d9cdd 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -1468,4 +1468,10 @@ CURLFORMcode curl_formadd(struct curl_httppost **httppost,
return CURL_FORMADD_DISABLED;
}
+void curl_formfree(struct curl_httppost *form)
+{
+ (void)form;
+ /* does nothing HTTP is disabled */
+}
+
#endif /* CURL_DISABLE_HTTP */