mirror of
https://github.com/curl/curl.git
synced 2026-07-22 20:27:17 +03:00
fix minor compiler warning
This commit is contained in:
parent
98b8c4b0c9
commit
856114d05c
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue