aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 7a0cc9a83..b53f8f309 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2398,7 +2398,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
state(conn, FTP_AUTH);
}
else {
- ftp_state_user(conn);
+ result = ftp_state_user(conn);
if(result)
return result;
}