Skip to content

Commit 9c5e94e

Browse files
committed
[MSWSOCK]
- Fix a crash in WSPSelect svn path=/branches/aicom-network-branch/; revision=48490
1 parent 5a0b35c commit 9c5e94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dll/win32/mswsock/msafd/select.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
(s->SharedData.AsyncEvents & e))
1414

1515
#define HANDLES_IN_SET(s) \
16-
s == NULL ? 0 : (s->fd_count & 0xFFFF)
16+
(((s) == NULL) ? 0 : ((s)->fd_count & 0xFFFF))
1717

1818
/* DATA **********************************************************************/
1919

0 commit comments

Comments
 (0)