aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 13ea3b9a0..1379a9380 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);