aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-06-28 02:45:27 +0000
committerYang Tse <yangsita@gmail.com>2006-06-28 02:45:27 +0000
commit856114d05c8429f63ac8c2fe415362fd7406799e (patch)
treefbfd1908263a5e8a1685371d7bb31672327ef5e4
parent98b8c4b0c920467b9a7410cbc4b9ff144016808c (diff)
fix minor compiler warning
-rw-r--r--lib/formdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 0fbb23aa7..a42ea5390 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -895,11 +895,11 @@ void Curl_formclean(struct FormData *form)
int curl_formget(struct curl_httppost *form, void *arg,
curl_formget_callback append)
{
- CURLFORMcode rc;
+ CURLcode rc;
curl_off_t size;
struct FormData *data, *ptr;
- if ((rc = Curl_getFormData(&data, form, &size))) {
+ if ((rc = Curl_getFormData(&data, form, &size)) != CURLE_OK) {
return (int)rc;
}