Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
wine
wine-cw
Commits
26bbf072
Commit
26bbf072
authored
May 29, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Change read_buf type to BYTE.
parent
d1d1da35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
http.c
dlls/wininet/http.c
+2
-2
internet.h
dlls/wininet/internet.h
+1
-1
No files found.
dlls/wininet/http.c
View file @
26bbf072
...
@@ -1697,7 +1697,7 @@ static BOOL read_line( WININETHTTPREQW *req, LPSTR buffer, DWORD *len )
...
@@ -1697,7 +1697,7 @@ static BOOL read_line( WININETHTTPREQW *req, LPSTR buffer, DWORD *len )
EnterCriticalSection
(
&
req
->
read_section
);
EnterCriticalSection
(
&
req
->
read_section
);
for
(;;)
for
(;;)
{
{
char
*
eol
=
memchr
(
req
->
read_buf
+
req
->
read_pos
,
'\n'
,
req
->
read_size
);
BYTE
*
eol
=
memchr
(
req
->
read_buf
+
req
->
read_pos
,
'\n'
,
req
->
read_size
);
if
(
eol
)
if
(
eol
)
{
{
...
@@ -1737,7 +1737,7 @@ static BOOL discard_eol( WININETHTTPREQW *req )
...
@@ -1737,7 +1737,7 @@ static BOOL discard_eol( WININETHTTPREQW *req )
{
{
do
do
{
{
char
*
eol
=
memchr
(
req
->
read_buf
+
req
->
read_pos
,
'\n'
,
req
->
read_size
);
BYTE
*
eol
=
memchr
(
req
->
read_buf
+
req
->
read_pos
,
'\n'
,
req
->
read_size
);
if
(
eol
)
if
(
eol
)
{
{
remove_data
(
req
,
(
eol
+
1
)
-
(
req
->
read_buf
+
req
->
read_pos
)
);
remove_data
(
req
,
(
eol
+
1
)
-
(
req
->
read_buf
+
req
->
read_pos
)
);
...
...
dlls/wininet/internet.h
View file @
26bbf072
...
@@ -208,7 +208,7 @@ typedef struct
...
@@ -208,7 +208,7 @@ typedef struct
BOOL
read_chunked
;
/* are we reading in chunked mode? */
BOOL
read_chunked
;
/* are we reading in chunked mode? */
DWORD
read_pos
;
/* current read position in read_buf */
DWORD
read_pos
;
/* current read position in read_buf */
DWORD
read_size
;
/* valid data size in read_buf */
DWORD
read_size
;
/* valid data size in read_buf */
char
read_buf
[
4096
];
/* buffer for already read but not returned data */
BYTE
read_buf
[
4096
];
/* buffer for already read but not returned data */
}
WININETHTTPREQW
,
*
LPWININETHTTPREQW
;
}
WININETHTTPREQW
,
*
LPWININETHTTPREQW
;
...
...
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