Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
567e21e1
Commit
567e21e1
authored
Sep 03, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Avoid testing errno when it isn't set.
parent
a2022c89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
net.c
dlls/winhttp/net.c
+3
-2
No files found.
dlls/winhttp/net.c
View file @
567e21e1
...
...
@@ -524,9 +524,10 @@ BOOL netconn_get_next_line( netconn_t *conn, char *buffer, DWORD *buflen )
{
if
(
poll
(
&
pfd
,
1
,
DEFAULT_RECEIVE_TIMEOUT
*
1000
)
>
0
)
{
if
(
recv
(
conn
->
socket
,
&
buffer
[
recvd
],
1
,
0
)
<=
0
)
int
res
;
if
((
res
=
recv
(
conn
->
socket
,
&
buffer
[
recvd
],
1
,
0
))
<=
0
)
{
set_last_error
(
sock_get_error
(
errno
)
);
if
(
res
==
-
1
)
set_last_error
(
sock_get_error
(
errno
)
);
break
;
}
if
(
buffer
[
recvd
]
==
'\n'
)
...
...
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