]> granicus.if.org Git - curl/commitdiff
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 7a0cc9a835fe77c0f95877dfde3266e5f7a6dcd4..b53f8f3090aa935a28c7eb00555cb3f605c8bcdf 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;
       }