initilize ev->maxfd = EVENT_INVALID_MAXFD; before the while() loop.
-rw-r--r-- 29650 prog_guide.txt
drwxr-xr-x - source