CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!

This commit is contained in:
Daniel Stenberg
2006-04-09 22:41:22 +00:00
parent 260b88c197
commit a21a77d230
4 changed files with 16 additions and 22 deletions

View File

@@ -4162,8 +4162,7 @@ operate(struct Configurable *config, int argc, char *argv[])
}
}
} /* if CURLE_OK */
else if((CURLE_FTP_USER_PASSWORD_INCORRECT == res) ||
(CURLE_LOGIN_DENIED == res)) {
else if(CURLE_LOGIN_DENIED == res) {
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response);
if(response/100 == 5)