Loading lib/http.c +6 −5 Original line number Original line Diff line number Diff line Loading @@ -2536,7 +2536,8 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) /* url */ /* url */ if (paste_ftp_userpwd) if (paste_ftp_userpwd) result = Curl_add_bufferf(req_buffer, "ftp://%s:%s@%s", result = Curl_add_bufferf(req_buffer, "ftp://%s:%s@%s", conn->user, conn->passwd, ppath + sizeof("ftp://") - 1); conn->user, conn->passwd, ppath + sizeof("ftp://") - 1); else else result = Curl_add_buffer(req_buffer, ppath, strlen(ppath)); result = Curl_add_buffer(req_buffer, ppath, strlen(ppath)); if (result) if (result) Loading Loading
lib/http.c +6 −5 Original line number Original line Diff line number Diff line Loading @@ -2536,7 +2536,8 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) /* url */ /* url */ if (paste_ftp_userpwd) if (paste_ftp_userpwd) result = Curl_add_bufferf(req_buffer, "ftp://%s:%s@%s", result = Curl_add_bufferf(req_buffer, "ftp://%s:%s@%s", conn->user, conn->passwd, ppath + sizeof("ftp://") - 1); conn->user, conn->passwd, ppath + sizeof("ftp://") - 1); else else result = Curl_add_buffer(req_buffer, ppath, strlen(ppath)); result = Curl_add_buffer(req_buffer, ppath, strlen(ppath)); if (result) if (result) Loading