/[svn]/ircd-hybrid-7.2/src/s_bsd_devpoll.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/s_bsd_devpoll.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 241 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 242 by adx, Sun Nov 6 11:20:44 2005 UTC
# Line 166  comm_select(void) Line 166  comm_select(void)
166        {        {
167          F->read_handler = NULL;          F->read_handler = NULL;
168          hdl(F, F->read_data);          hdl(F, F->read_data);
169          if (!F->flags.open)          if (!F->flags.open)
170            continue;            continue;
171        }        }
172    
173      if ((dopoll.dp_fds[i].revents & (POLLWRNORM | POLLOUT | POLLHUP | POLLERR)))      if ((dopoll.dp_fds[i].revents & (POLLWRNORM | POLLOUT | POLLHUP | POLLERR)))
# Line 175  comm_select(void) Line 175  comm_select(void)
175        {        {
176          F->write_handler = NULL;          F->write_handler = NULL;
177          hdl(F, F->write_data);          hdl(F, F->write_data);
178          if (!F->flags.open)          if (!F->flags.open)
179            continue;            continue;
180        }        }
181    
182      comm_setselect(F, 0, NULL, NULL, 0);      comm_setselect(F, 0, NULL, NULL, 0);

Legend:
Removed from v.241  
changed lines
  Added in v.242

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28