Loading lib/ftp.c +2 −2 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) #endif /* send USER */ FTPSENDF(conn, "USER %s", ftp->user); FTPSENDF(conn, "USER %s", ftp->user?ftp->user:""); /* wait for feedback */ result = Curl_GetFTPResponse(&nread, conn, &ftpcode); Loading @@ -499,7 +499,7 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) else if(ftpcode == 331) { /* 331 Password required for ... (the server requires to send the user's password too) */ FTPSENDF(conn, "PASS %s", ftp->passwd); FTPSENDF(conn, "PASS %s", ftp->passwd?ftp->passwd:""); result = Curl_GetFTPResponse(&nread, conn, &ftpcode); if(result) return result; Loading Loading
lib/ftp.c +2 −2 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) #endif /* send USER */ FTPSENDF(conn, "USER %s", ftp->user); FTPSENDF(conn, "USER %s", ftp->user?ftp->user:""); /* wait for feedback */ result = Curl_GetFTPResponse(&nread, conn, &ftpcode); Loading @@ -499,7 +499,7 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) else if(ftpcode == 331) { /* 331 Password required for ... (the server requires to send the user's password too) */ FTPSENDF(conn, "PASS %s", ftp->passwd); FTPSENDF(conn, "PASS %s", ftp->passwd?ftp->passwd:""); result = Curl_GetFTPResponse(&nread, conn, &ftpcode); if(result) return result; Loading