projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be72eaa
)
provide curl_formfree() even when http is disabled, it does nothing then
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 13 Jun 2004 08:59:37 +0000
(08:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 13 Jun 2004 08:59:37 +0000
(08:59 +0000)
lib/formdata.c
patch
|
blob
|
history
diff --git
a/lib/formdata.c
b/lib/formdata.c
index
28837bc
..
8fb6d9c
100644
(file)
--- 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 */