From 856114d05c8429f63ac8c2fe415362fd7406799e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 28 Jun 2006 02:45:27 +0000 Subject: fix minor compiler warning --- lib/formdata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; } -- cgit v1.2.3