David McCreedy found a missing return code assignment
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Mar 2006 23:33:46 +0000 (23:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Mar 2006 23:33:46 +0000 (23:33 +0000)
lib/ftp.c

index 7a0cc9a..b53f8f3 100644 (file)
--- 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;
       }