Jacek Caban : wininet: Get rid of no longer needed read_chunked field.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 15 08:49:08 CDT 2015
Module: wine
Branch: master
Commit: 7fa7e9bd3b27d3fe37c71089fc7fb3047d84f76a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fa7e9bd3b27d3fe37c71089fc7fb3047d84f76a
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jun 12 19:46:04 2015 +0200
wininet: Get rid of no longer needed read_chunked field.
---
dlls/wininet/http.c | 3 +--
dlls/wininet/internet.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 45183cf..b7c4661 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -408,7 +408,7 @@ static void reset_data_stream(http_request_t *req)
destroy_data_stream(req->data_stream);
req->data_stream = &req->netconn_stream.data_stream;
req->read_pos = req->read_size = req->netconn_stream.content_read = 0;
- req->read_chunked = req->read_gzip = FALSE;
+ req->read_gzip = FALSE;
}
static void remove_header( http_request_t *request, const WCHAR *str, BOOL from_request )
@@ -2955,7 +2955,6 @@ static DWORD set_content_length(http_request_t *request)
request->data_stream = &chunked_stream->data_stream;
request->contentLength = ~0u;
- request->read_chunked = TRUE;
}
if(request->decoding) {
diff --git a/dlls/wininet/internet.h b/dlls/wininet/internet.h
index 925bfd0..40951b6 100644
--- a/dlls/wininet/internet.h
+++ b/dlls/wininet/internet.h
@@ -355,7 +355,6 @@ typedef struct
CRITICAL_SECTION read_section; /* section to protect the following fields */
DWORD contentLength; /* total number of bytes to be read */
- BOOL read_chunked; /* are we reading in chunked mode? */
BOOL read_gzip; /* are we reading in gzip mode? */
DWORD read_pos; /* current read position in read_buf */
DWORD read_size; /* valid data size in read_buf */
More information about the wine-cvs
mailing list