diff options
author | taesub kim <taesub.kim@samsung.com> | 2017-03-23 00:38:33 -0700 |
---|---|---|
committer | taesub kim <taesub.kim@samsung.com> | 2017-03-23 00:38:33 -0700 |
commit | 88d478478059f53e6de0d1267c3a1e6b02c4273f (patch) | |
tree | 7f3b26146600554e22d60afbe69035821056f299 /lib/http_chunks.c | |
parent | e9bdad71c8277e20607fa1eaf0027d53a0dc1f37 (diff) | |
download | curl-88d478478059f53e6de0d1267c3a1e6b02c4273f.tar.gz curl-88d478478059f53e6de0d1267c3a1e6b02c4273f.tar.bz2 curl-88d478478059f53e6de0d1267c3a1e6b02c4273f.zip |
Revert "Imported Upstream version 7.53.1"
This reverts commit e9bdad71c8277e20607fa1eaf0027d53a0dc1f37.
Change-Id: I4a4edd3ce2207a6f13162aaaf92467a7c1dffd72
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r-- | lib/http_chunks.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c index 1bdf6974c..ea171092b 100644 --- a/lib/http_chunks.c +++ b/lib/http_chunks.c @@ -190,8 +190,8 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, /* Write the data portion available */ #ifdef HAVE_LIBZ - switch(conn->data->set.http_ce_skip? - IDENTITY : data->req.auto_decoding) { + switch (conn->data->set.http_ce_skip? + IDENTITY : data->req.auto_decoding) { case IDENTITY: #endif if(!k->ignorebody) { @@ -219,10 +219,10 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, break; default: - failf(conn->data, - "Unrecognized content encoding type. " - "libcurl understands `identity', `deflate' and `gzip' " - "content encodings."); + failf (conn->data, + "Unrecognized content encoding type. " + "libcurl understands `identity', `deflate' and `gzip' " + "content encodings."); return CHUNKE_BAD_ENCODING; } #endif @@ -360,7 +360,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, const char *Curl_chunked_strerror(CHUNKcode code) { - switch(code) { + switch (code) { default: return "OK"; case CHUNKE_TOO_LONG_HEX: |