mirror of
https://github.com/curl/curl.git
synced 2026-04-15 04:21:42 +03:00
Rich Gray fixed the PORT command line with the missing \r!
This commit is contained in:
parent
ddd3ca4e5a
commit
72158ad2cf
1 changed files with 1 additions and 1 deletions
|
|
@ -617,7 +617,7 @@ CURLcode _ftp(struct connectdata *conn)
|
|||
sscanf( inet_ntoa(in), "%hu.%hu.%hu.%hu",
|
||||
&ip[0], &ip[1], &ip[2], &ip[3]);
|
||||
#endif
|
||||
sendf(data->firstsocket, data, "PORT %d,%d,%d,%d,%d,%d\n",
|
||||
sendf(data->firstsocket, data, "PORT %d,%d,%d,%d,%d,%d\r\n",
|
||||
ip[0], ip[1], ip[2], ip[3],
|
||||
porttouse >> 8,
|
||||
porttouse & 255);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue