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
4c1c5fe6
Commit
4c1c5fe6
authored
May 04, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
May 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Moved connected check out of NETCON_set_timeout.
parent
0a51b005
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
http.c
dlls/wininet/http.c
+5
-0
netconnection.c
dlls/wininet/netconnection.c
+0
-5
No files found.
dlls/wininet/http.c
View file @
4c1c5fe6
...
...
@@ -1995,6 +1995,11 @@ static DWORD HTTPREQ_SetOption(object_header_t *hdr, DWORD option, void *buffer,
if
(
size
!=
sizeof
(
DWORD
))
return
ERROR_INVALID_PARAMETER
;
if
(
NETCON_connected
(
&
req
->
netConnection
))
{
FIXME
(
"unsupported without active connection
\n
"
);
return
ERROR_SUCCESS
;
}
return
NETCON_set_timeout
(
&
req
->
netConnection
,
option
==
INTERNET_OPTION_SEND_TIMEOUT
,
*
(
DWORD
*
)
buffer
);
...
...
dlls/wininet/netconnection.c
View file @
4c1c5fe6
...
...
@@ -896,11 +896,6 @@ DWORD NETCON_set_timeout(netconn_t *connection, BOOL send, int value)
int
result
;
struct
timeval
tv
;
/* FIXME: we should probably store the timeout in the connection to set
* when we do connect */
if
(
!
NETCON_connected
(
connection
))
return
ERROR_SUCCESS
;
/* value is in milliseconds, convert to struct timeval */
tv
.
tv_sec
=
value
/
1000
;
tv
.
tv_usec
=
(
value
%
1000
)
*
1000
;
...
...
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