1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

provide curl_formfree() even when http is disabled, it does nothing then

This commit is contained in:
Daniel Stenberg 2004-06-13 08:59:37 +00:00
parent be72eaa327
commit 8f1783b8a7

View File

@ -1468,4 +1468,10 @@ CURLFORMcode curl_formadd(struct curl_httppost **httppost,
return CURL_FORMADD_DISABLED; return CURL_FORMADD_DISABLED;
} }
void curl_formfree(struct curl_httppost *form)
{
(void)form;
/* does nothing HTTP is disabled */
}
#endif /* CURL_DISABLE_HTTP */ #endif /* CURL_DISABLE_HTTP */