aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-09 13:06:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-09 13:06:40 +0000
commit6a2e21ec8cbaf7c719902e06953d9dbec629ad4f (patch)
treec09552b516d0d6dadc999ef446843ba32db4f1e1 /src/main.c
parent120f17ce04794f55603a1edcd8ec8f89a09fe4ca (diff)
FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
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)