From 8f1783b8a786a43d105b26fcac288fb3c3a45183 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Jun 2004 08:59:37 +0000 Subject: provide curl_formfree() even when http is disabled, it does nothing then --- lib/formdata.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- cgit v1.2.3