diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-04-08 22:50:40 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-04-18 19:46:21 +0200 |
commit | 2db6f7e703bda76872a0e05f2d5fe6c5a7ddaf74 (patch) | |
tree | fc93642481beb30db41840429518a00b46a5ddf3 /lib/transfer.c | |
parent | 0790b2791091ca46bed3813dc7d04cd3f30e5dac (diff) | |
download | curl-2db6f7e703bda76872a0e05f2d5fe6c5a7ddaf74.tar.gz |
TE: rename struct field content_encoding
Since this struct member is used in the code to determine what and how
to decode automatically and since it is now also used for compressed
Transfer-Encodings, I renamed it to the more suitable 'auto_decoding'
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 065c7341f..960056c1d 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -714,12 +714,12 @@ static CURLcode readwrite_data(struct SessionHandle *data, encodings handled here. */ #ifdef HAVE_LIBZ switch (conn->data->set.http_ce_skip ? - IDENTITY : k->content_encoding) { + IDENTITY : k->auto_decoding) { case IDENTITY: #endif /* This is the default when the server sends no Content-Encoding header. See Curl_readwrite_init; the - memset() call initializes k->content_encoding to zero. */ + memset() call initializes k->auto_decoding to zero. */ if(!k->ignorebody) { #ifndef CURL_DISABLE_POP3 |