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
1a1f1aa5
Commit
1a1f1aa5
authored
Jun 22, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Fix a typo in a variable name.
parent
4c8b3b0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
sock.c
dlls/ws2_32/tests/sock.c
+9
-9
No files found.
dlls/ws2_32/tests/sock.c
View file @
1a1f1aa5
...
...
@@ -2564,7 +2564,7 @@ typedef struct async_message
struct
async_message
*
next
;
}
async_message
;
static
struct
async_message
*
messages_rec
ie
ved
;
static
struct
async_message
*
messages_rec
ei
ved
;
#define WM_SOCKET (WM_USER+100)
static
LRESULT
CALLBACK
ws2_test_WndProc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
...
...
@@ -2579,14 +2579,14 @@ static LRESULT CALLBACK ws2_test_WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPA
message
->
lparam
=
lparam
;
message
->
next
=
NULL
;
if
(
messages_rec
ie
ved
)
if
(
messages_rec
ei
ved
)
{
struct
async_message
*
last
=
messages_rec
ie
ved
;
struct
async_message
*
last
=
messages_rec
ei
ved
;
while
(
last
->
next
)
last
=
last
->
next
;
last
->
next
=
message
;
}
else
messages_rec
ie
ved
=
message
;
messages_rec
ei
ved
=
message
;
return
0
;
}
...
...
@@ -2650,7 +2650,7 @@ static char *dbgstr_event_seq(const LPARAM *seq)
static
char
*
dbgstr_event_seq_result
(
SOCKET
s
,
WSANETWORKEVENTS
*
netEvents
)
{
static
char
message
[
1024
];
struct
async_message
*
curr
=
messages_rec
ie
ved
;
struct
async_message
*
curr
=
messages_rec
ei
ved
;
int
index
,
error
,
bit
=
0
;
char
name
[
10
];
...
...
@@ -2693,7 +2693,7 @@ static char *dbgstr_event_seq_result(SOCKET s, WSANETWORKEVENTS *netEvents)
static
void
flush_events
(
SOCKET
s
,
HANDLE
hEvent
)
{
WSANETWORKEVENTS
netEvents
;
struct
async_message
*
prev
=
NULL
,
*
curr
=
messages_rec
ie
ved
;
struct
async_message
*
prev
=
NULL
,
*
curr
=
messages_rec
ei
ved
;
int
ret
;
DWORD
dwRet
;
...
...
@@ -2714,12 +2714,12 @@ static void flush_events(SOCKET s, HANDLE hEvent)
if
(
curr
->
socket
==
s
)
{
if
(
prev
)
prev
->
next
=
curr
->
next
;
else
messages_rec
ie
ved
=
curr
->
next
;
else
messages_rec
ei
ved
=
curr
->
next
;
HeapFree
(
GetProcessHeap
(),
0
,
curr
);
if
(
prev
)
curr
=
prev
->
next
;
else
curr
=
messages_rec
ie
ved
;
else
curr
=
messages_rec
ei
ved
;
}
else
{
...
...
@@ -2759,7 +2759,7 @@ static int match_event_sequence(SOCKET s, WSANETWORKEVENTS *netEvents, const LPA
}
else
{
curr
=
messages_rec
ie
ved
;
curr
=
messages_rec
ei
ved
;
while
(
curr
)
{
if
(
curr
->
socket
==
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