Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
a533bf26
Commit
a533bf26
authored
Aug 10, 2015
by
Michael Müller
Committed by
Alexandre Julliard
Aug 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Remove unused variable in read_reply().
parent
9a7ce561
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
request.c
dlls/winhttp/request.c
+1
-4
No files found.
dlls/winhttp/request.c
View file @
a533bf26
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment