Commit Diff
Diff:
4d8a06d41dc96cb9b17dcbf3a20477dfb5566b82
463ce8791b0da705a2cfd040324fc8dd3c2fd9b9
Commit:
463ce8791b0da705a2cfd040324fc8dd3c2fd9b9
Tree:
d9e90d50044d2066a291e036d6bce5b9d12d1c15
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jun 10 07:30:11 2022 UTC
Message:
don't POLLIN, we only care about POLLOUT
commit - 4d8a06d41dc96cb9b17dcbf3a20477dfb5566b82
commit + 463ce8791b0da705a2cfd040324fc8dd3c2fd9b9
blob - 3b31d13e0fa20c8e21c70786a3f98c6a1895672b
blob + 799f7f0b9bc6053228cbc1b6342d4997b9df18cb
--- player.c
+++ player.c
@@ -81,7 +81,7 @@ again:
par.pchan = channels;
if (!sio_setpar(hdl, &par)) {
if (errno == EAGAIN) {
- nfds = sio_pollfd(hdl, player_pfds + 1, POLLIN|POLLOUT);
+ nfds = sio_pollfd(hdl, player_pfds + 1, POLLOUT);
if (poll(player_pfds + 1, nfds, INFTIM) == -1)
fatal("poll");
goto again;
Omar Polo