aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 4c432f19c..4a1cec378 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)