diff options
author | Yang Tse <yangsita@gmail.com> | 2006-06-28 02:45:27 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-06-28 02:45:27 +0000 |
commit | 856114d05c8429f63ac8c2fe415362fd7406799e (patch) | |
tree | fbfd1908263a5e8a1685371d7bb31672327ef5e4 /lib | |
parent | 98b8c4b0c920467b9a7410cbc4b9ff144016808c (diff) |
fix minor compiler warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/formdata.c | 4 |
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; } |