From: Daniel Stenberg Date: Sun, 13 Jun 2004 08:59:37 +0000 (+0000) Subject: provide curl_formfree() even when http is disabled, it does nothing then X-Git-Tag: curl-7_12_1~279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f1783b8a786a43d105b26fcac288fb3c3a45183;p=thirdparty%2Fcurl.git provide curl_formfree() even when http is disabled, it does nothing then --- diff --git a/lib/formdata.c b/lib/formdata.c index 28837bc734..8fb6d9cdd3 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 */