summaryrefslogtreecommitdiff
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-19 21:18:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-19 21:18:36 +0000
commitcfdcae4bc75fba04b9864cae18e0bbe66b8655b9 (patch)
tree2012bd78cd739dddfcd85bdaae543919af7be23f /lib/sendf.h
parent74a6921bc454fcbf842a221e95ba5dc09b19049e (diff)
downloadcurl-cfdcae4bc75fba04b9864cae18e0bbe66b8655b9.tar.gz
Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
command on subsequent requests on a re-used connection unless it has to.
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index ae96af3e0..b556bd573 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -47,7 +47,7 @@ void Curl_failf(struct SessionHandle *, const char *fmt, ...);
#define CLIENTWRITE_HEADER 2
#define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER)
-CURLcode Curl_client_write(struct SessionHandle *data, int type, char *ptr,
+CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
size_t len);
/* internal read-function, does plain socket, SSL and krb4 */