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:
40a58c3
)
when built with HTTP disabled, provide a curl_formadd() function anyway to
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 9 Jun 2004 08:22:02 +0000
(08:22 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 9 Jun 2004 08:22:02 +0000
(08:22 +0000)
keep the API complete at all times
lib/formdata.c
patch
|
blob
|
history
diff --git
a/lib/formdata.c
b/lib/formdata.c
index
49d0978
..
36eac7e
100644
(file)
--- a/
lib/formdata.c
+++ b/
lib/formdata.c
@@
-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 */