From 27c0b438976d0f964b3b6ee126d985759da06662 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 20 Jul 2006 20:04:52 +0000 Subject: [PATCH] David McCreedy fixed a build error when building libcurl with HTTP disabled, problem added with the curl_formget() patch. --- CHANGES | 4 ++++ lib/formdata.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 7c00830..3de71de 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changelog +Daniel (20 July 2006) +- David McCreedy fixed a build error when building libcurl with HTTP disabled, + problem added with the curl_formget() patch. + Daniel (17 July 2006) - Jari Sundell did some excellent research and bug tracking, figured out that we did wrong and patched it: When nodes were removed from the splay tree, diff --git a/lib/formdata.c b/lib/formdata.c index a42ea53..6094e8e 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -1574,10 +1574,10 @@ CURLFORMcode curl_formadd(struct curl_httppost **httppost, return CURL_FORMADD_DISABLED; } -CURLFORMCode curl_formget(struct curl_httppost *post, void *arg, - curl_formget_callback append) +int curl_formget(struct curl_httppost *form, void *arg, + curl_formget_callback append) { - (void) post; + (void) form; (void) arg; (void) append; return CURL_FORMADD_DISABLED; -- 2.7.4