diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-10-31 20:59:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-31 20:59:24 +0000 |
commit | 027fc719cc220aa33813a2100ec56c9f8024ab1d (patch) | |
tree | e73a4ad5a6a351df45e2dd5c4044deb893b0115c | |
parent | f6b2e9e8a40582aae0377f07850572f3c5c148dc (diff) |
fixed FTPSENDF for ipv6 compiles
-rw-r--r-- | lib/ftp.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -987,8 +987,10 @@ CURLcode ftp_use_port(struct connectdata *conn) *q = '\0'; } - FTPSENDF(conn, "%s |%d|%s|%s|", *modep, eprtaf, - portmsgbuf, tmp); + result = Curl_ftpsendf(conn, "%s |%d|%s|%s|", *modep, eprtaf, + portmsgbuf, tmp); + if(result) + return result; } else if (strcmp(*modep, "LPRT") == 0 || strcmp(*modep, "PORT") == 0) { int i; @@ -1035,7 +1037,9 @@ CURLcode ftp_use_port(struct connectdata *conn) } } - FTPSENDF(conn, "%s %s", *modep, portmsgbuf); + result = Curl_ftpsendf(conn, "%s %s", *modep, portmsgbuf); + if(result) + return result; } nread = Curl_GetFTPResponse(buf, conn, &ftpcode); |