diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-07-23 18:51:22 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-07-23 18:51:22 +0000 |
commit | 5ecd56d9646c2adcc70c0369fb6196f62ecc62f4 (patch) | |
tree | a1dc6e5dac022fd7f09217815aa10c2afd0972ae /lib/sendf.c | |
parent | cc44fb1dc8b974d62638c50fb66c31ffa0554a18 (diff) |
Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 7a6fd5401..9774ca0e5 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -416,7 +416,7 @@ CURLcode Curl_client_write(struct connectdata *conn, /* If the previous block of data ended with CR and this block of data is just a NL, then the length might be zero */ if (len) { - wrote = data->set.fwrite(ptr, 1, len, data->set.out); + wrote = data->set.fwrite_func(ptr, 1, len, data->set.out); } else { wrote = len; @@ -435,7 +435,7 @@ CURLcode Curl_client_write(struct connectdata *conn, * header callback function (added after version 7.7.1). */ curl_write_callback writeit= - data->set.fwrite_header?data->set.fwrite_header:data->set.fwrite; + data->set.fwrite_header?data->set.fwrite_header:data->set.fwrite_func; /* Note: The header is in the host encoding regardless of the ftp transfer mode (ASCII/Image) */ |