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
5c17a0b0
Commit
5c17a0b0
authored
Sep 06, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httpapi/tests: Assign to correct type (Coverity).
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa88c5d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
httpapi.c
dlls/httpapi/tests/httpapi.c
+2
-2
No files found.
dlls/httpapi/tests/httpapi.c
View file @
5c17a0b0
...
...
@@ -74,7 +74,7 @@ static const char simple_req[] =
"User-Agent: WINE
\r\n
"
"
\r\n
"
;
static
int
create_client_socket
(
void
)
static
SOCKET
create_client_socket
(
void
)
{
struct
sockaddr_in
sockaddr
=
{
...
...
@@ -82,7 +82,7 @@ static int create_client_socket(void)
.
sin_port
=
htons
(
50000
),
.
sin_addr
.
S_un
.
S_addr
=
inet_addr
(
"127.0.0.1"
),
};
int
s
=
socket
(
AF_INET
,
SOCK_STREAM
,
0
),
ret
;
SOCKET
s
=
socket
(
AF_INET
,
SOCK_STREAM
,
0
),
ret
;
ret
=
connect
(
s
,
(
struct
sockaddr
*
)
&
sockaddr
,
sizeof
(
sockaddr
));
ok
(
!
ret
,
"Failed to connect socket, error %u.
\n
"
,
GetLastError
());
return
s
;
...
...
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