diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-06-20 07:45:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-06-20 07:45:53 +0000 |
commit | 72158ad2cfa94de6aec6673ba2ef471f625f4593 (patch) | |
tree | b30b07c4b490af54ff6f0a5f04b7293b3a58672e /lib | |
parent | ddd3ca4e5acb516dbea7d80af4fcbe6c0a7e3518 (diff) |
Rich Gray fixed the PORT command line with the missing \r!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 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); |