diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-09-04 19:43:35 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-09-04 19:43:35 +0000 |
commit | bb67388bbea127222d41019dad393436a253fc77 (patch) | |
tree | b0d51abfa60a66ea10c06209e5284dc6f478c1af /lib/sendf.c | |
parent | 3dcd2b82c4095e34342c8d0778d45d547c23b06d (diff) |
Made some variables const
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 52edbc4ce..bba1bc726 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -397,7 +397,7 @@ CURLcode Curl_write_plain(struct connectdata *conn, static CURLcode pausewrite(struct SessionHandle *data, int type, /* what type of data */ - char *ptr, + const char *ptr, size_t len) { /* signalled to pause sending on this connection, but since we have data @@ -429,6 +429,10 @@ static CURLcode pausewrite(struct SessionHandle *data, The bit pattern defines to what "streams" to write to. Body and/or header. The defines are in sendf.h of course. + + If CURL_DO_LINEEND_CONV is enabled, data is converted IN PLACE to the + local character encoding. This is a problem and should be changed in + the future to leave the original data alone. */ CURLcode Curl_client_write(struct connectdata *conn, int type, |