diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 00:19:38 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 00:19:38 +0000 |
commit | 59b540065002a1c550445fc8187ff21d7ecb70b9 (patch) | |
tree | 1729184f5f7361179c0f1a30b194c960becd856d /ftp/curl | |
parent | 467e874a696e2590b2a825d4f9727e3c1ef7f97b (diff) | |
download | ports-59b540065002a1c550445fc8187ff21d7ecb70b9.tar.gz ports-59b540065002a1c550445fc8187ff21d7ecb70b9.zip |
Notes
Diffstat (limited to 'ftp/curl')
-rw-r--r-- | ftp/curl/files/patch-lib::ftp.c | 27 | ||||
-rw-r--r-- | ftp/curl/files/patch-lib::ldap.c | 11 |
2 files changed, 38 insertions, 0 deletions
diff --git a/ftp/curl/files/patch-lib::ftp.c b/ftp/curl/files/patch-lib::ftp.c new file mode 100644 index 000000000000..559b4f1f11c3 --- /dev/null +++ b/ftp/curl/files/patch-lib::ftp.c @@ -0,0 +1,27 @@ +--- lib/ftp.c.orig Thu Jun 6 17:12:12 2002 ++++ lib/ftp.c Thu Jun 6 17:13:28 2002 +@@ -1067,13 +1067,13 @@ + } + freeaddrinfo(res); + if (portsock < 0) { +- failf(data, strerror(errno)); ++ failf(data, "%s", strerror(errno)); + return CURLE_FTP_PORT_FAILED; + } + + sslen = sizeof(ss); + if (getsockname(portsock, sa, &sslen) < 0) { +- failf(data, strerror(errno)); ++ failf(data, "%s", strerror(errno)); + return CURLE_FTP_PORT_FAILED; + } + +@@ -1370,7 +1370,7 @@ + + for (modeoff = (data->set.ftp_use_epsv?0:1); + mode[modeoff]; modeoff++) { +- result = Curl_ftpsendf(conn, mode[modeoff]); ++ result = Curl_ftpsendf(conn, "%s", mode[modeoff]); + if(result) + return result; + nread = Curl_GetFTPResponse(buf, conn, &ftpcode); diff --git a/ftp/curl/files/patch-lib::ldap.c b/ftp/curl/files/patch-lib::ldap.c new file mode 100644 index 000000000000..567a0ac129bc --- /dev/null +++ b/ftp/curl/files/patch-lib::ldap.c @@ -0,0 +1,11 @@ +--- lib/ldap.c.orig Thu Jun 6 17:14:16 2002 ++++ lib/ldap.c Thu Jun 6 17:14:24 2002 +@@ -147,7 +147,7 @@ + int ldaptext; + struct SessionHandle *data=conn->data; + +- infof(data, "LDAP: %s %s\n", data->change.url); ++ infof(data, "LDAP: %s\n", data->change.url); + + DynaOpen(); + if (libldap == NULL) { |