and a bug fix for the above.

This commit is contained in:
gardners 2012-05-03 17:04:47 +09:30
parent c981b8c28a
commit 26ef52cf99

View File

@ -136,7 +136,7 @@ int monitor_get_fds(struct pollfd *fds,int *fdcount,int fdmax)
for(i=0;i<monitor_socket_count;i++) {
if ((*fdcount)>=fdmax) return -1;
if (debug&(DEBUG_IO|DEBUG_VERBOSE_IO)) {
WHY("Monitor named unix domain client socket is poll() slot #%d (fd %d)\n",
WHYF("Monitor named unix domain client socket is poll() slot #%d (fd %d)\n",
*fdcount,monitor_sockets[i].socket);
}
fds[*fdcount].fd=monitor_sockets[i].socket;