aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1558d18f2..c1317ad27 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,7 +21,6 @@
* $Id$
***************************************************************************/
-/* This is now designed to have its own local setup.h */
#include "setup.h"
#include <stdio.h>
@@ -3726,7 +3725,8 @@ operate(struct Configurable *config, int argc, char *argv[])
}
}
} /* if CURLE_OK */
- else if(CURLE_FTP_USER_PASSWORD_INCORRECT == res) {
+ else if((CURLE_FTP_USER_PASSWORD_INCORRECT == res) ||
+ (CURLE_LOGIN_DENIED == res)) {
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response);
if(response/100 == 5)