]> git.pld-linux.org Git - packages/curl.git/blame - curl-fix-proto.patch
- fix amd64 build
[packages/curl.git] / curl-fix-proto.patch
CommitLineData
fc0e675a 1diff -ur curl-7.9.1.orig/lib/ftp.c curl-7.9.1/lib/ftp.c
2--- curl-7.9.1.orig/lib/ftp.c Thu Nov 1 07:47:22 2001
3+++ curl-7.9.1/lib/ftp.c Sat Dec 1 05:34:31 2001
4@@ -1915,7 +1915,7 @@
5 * NOTE: we build the command in a fixed-length buffer, which sets length
6 * restrictions on the command!
7 */
8-CURLcode Curl_ftpsendf(struct connectdata *conn,
9+size_t Curl_ftpsendf(struct connectdata *conn,
10 const char *fmt, ...)
11 {
12 size_t bytes_written;
13--- curl-7.9.2/lib/ftp.h.orig Mon Dec 31 11:15:28 2001
14+++ curl-7.9.2/lib/ftp.h Mon Dec 31 11:15:43 2001
15@@ -28,7 +28,7 @@
16 CURLcode Curl_ftp_connect(struct connectdata *conn);
17 CURLcode Curl_ftp_disconnect(struct connectdata *conn);
18
19-CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
20+size_t Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
21
22 /* The kerberos stuff needs this: */
23 int Curl_GetFTPResponse(char *buf, struct connectdata *conn,
This page took 0.106613 seconds and 4 git commands to generate.