Skip to content
Snippets Groups Projects
Commit 6ec145d4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

when built with HTTP disabled, provide a curl_formadd() function anyway to

keep the API complete at all times
parent 40a58c39
No related branches found
No related tags found
No related merge requests found
......@@ -1458,4 +1458,14 @@ int main(int argc, char **argv)
#endif
#endif /* CURL_DISABLE_HTTP */
#else /* CURL_DISABLE_HTTP */
CURLFORMcode curl_formadd(struct curl_httppost **httppost,
struct curl_httppost **last_post,
...)
{
(void)httppost;
(void)last_post;
return CURL_FORMADD_DISABLED;
}
#endif /* CURL_DISABLE_HTTP */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment