Rebase against e083986df52bd706d0c7e8ae8820a5d886942585.

This commit is contained in:
Sebastian Lackner
2015-08-12 16:36:26 +02:00
parent 6b398014f2
commit e265cf1024
14 changed files with 9 additions and 359 deletions

View File

@@ -1,45 +0,0 @@
From 15eaea1b23276347b7ac4d68dd0d9c0da709bf7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 9 Aug 2015 15:28:37 +0200
Subject: winhttp: Remove unused variable in read_reply().
---
dlls/winhttp/request.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 740a582..607b502 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -2092,19 +2092,17 @@ static BOOL read_reply( request_t *request )
static const WCHAR crlf[] = {'\r','\n',0};
char buffer[MAX_REPLY_LEN];
- DWORD buflen, len, offset, received_len, crlf_len = 2; /* strlenW(crlf) */
+ DWORD buflen, len, offset, crlf_len = 2; /* strlenW(crlf) */
char *status_code, *status_text;
WCHAR *versionW, *status_textW, *raw_headers;
WCHAR status_codeW[4]; /* sizeof("nnn") */
if (!netconn_connected( &request->netconn )) return FALSE;
- received_len = 0;
do
{
buflen = MAX_REPLY_LEN;
if (!read_line( request, buffer, &buflen )) return FALSE;
- received_len += buflen;
/* first line should look like 'HTTP/1.x nnn OK' where nnn is the status code */
if (!(status_code = strchr( buffer, ' ' ))) return FALSE;
@@ -2157,7 +2155,6 @@ static BOOL read_reply( request_t *request )
buflen = MAX_REPLY_LEN;
if (!read_line( request, buffer, &buflen )) return TRUE;
- received_len += buflen;
if (!*buffer) break;
while (len - offset < buflen + crlf_len)
--
2.5.0