mirror of
https://github.com/curl/curl.git
synced 2026-06-24 11:45:39 +03:00
provide curl_formfree() even when http is disabled, it does nothing then
This commit is contained in:
parent
be72eaa327
commit
8f1783b8a7
1 changed files with 6 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue