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

Properly use poll_timeout in xpms_accept()

parent 94815621
No related branches found
No related tags found
No related merge requests found
......@@ -377,7 +377,7 @@ SOCKET DLLCALL xpms_accept(struct xpms_set *xpms_set, union xp_sockaddr * addr,
else
poll_timeout = timeout;
switch (poll(fds, scnt, timeout)) {
switch (poll(fds, scnt, poll_timeout)) {
case 0:
return INVALID_SOCKET;
case -1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment