aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/formdata.c')
-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 */