Skip to content
Snippets Groups Projects
Commit e9342f57 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Properly use poll_timeout in xpms_accept()

parent 1b01353c
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1594 passed
...@@ -377,7 +377,7 @@ SOCKET DLLCALL xpms_accept(struct xpms_set *xpms_set, union xp_sockaddr * addr, ...@@ -377,7 +377,7 @@ SOCKET DLLCALL xpms_accept(struct xpms_set *xpms_set, union xp_sockaddr * addr,
else else
poll_timeout = timeout; poll_timeout = timeout;
switch (poll(fds, scnt, timeout)) { switch (poll(fds, scnt, poll_timeout)) {
case 0: case 0:
return INVALID_SOCKET; return INVALID_SOCKET;
case -1: case -1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment