diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-13 08:59:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-13 08:59:37 +0000 |
commit | 8f1783b8a786a43d105b26fcac288fb3c3a45183 (patch) | |
tree | 02f4ef3ef862fbe1dc8a83dd10492634fb3c30af /lib | |
parent | be72eaa327359317568cb5a2549c103826f7e071 (diff) |
provide curl_formfree() even when http is disabled, it does nothing then
Diffstat (limited to 'lib')
-rw-r--r-- | lib/formdata.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |