commit b82bfeeba908ab749339f5e56ad8b1a5a5174dfd
parent ffe03048da71bdfd2d1d83182b65bbed8295809d
Author: Jacob R. Edwards <n/a>
Date: Sat, 28 May 2022 09:13:28 -0500
Fix bug with previous new polling system
Client poll events were not initialized. (I must have removed this
from aps_open() without testing.)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/aps/aps.c b/aps/aps.c
@@ -111,6 +111,7 @@ aps_addfd(struct aps *aps, int fd)
++aps->nfds;
aps->pfds[fd].fd = fd;
+ aps->pfds[fd].events = POLLIN;
return 0;
}