From: Daniel Stenberg Date: Tue, 20 Jun 2000 07:45:53 +0000 (+0000) Subject: Rich Gray fixed the PORT command line with the missing \r! X-Git-Tag: curl-7_1_1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72158ad2cfa94de6aec6673ba2ef471f625f4593;p=thirdparty%2Fcurl.git Rich Gray fixed the PORT command line with the missing \r! --- diff --git a/lib/ftp.c b/lib/ftp.c index 13ea3b9a0d..1379a93803 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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);