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

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

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

revision 2649 by michael, Sat Oct 27 21:02:32 2012 UTC revision 2650 by michael, Tue Dec 10 19:46:48 2013 UTC
# Line 163  comm_select(void) Line 163  comm_select(void)
163        continue;        continue;
164    
165      if ((dopoll.dp_fds[i].revents & POLLIN))      if ((dopoll.dp_fds[i].revents & POLLIN))
166        {
167        if ((hdl = F->read_handler) != NULL)        if ((hdl = F->read_handler) != NULL)
168        {        {
169          F->read_handler = NULL;          F->read_handler = NULL;
# Line 170  comm_select(void) Line 171  comm_select(void)
171          if (!F->flags.open)          if (!F->flags.open)
172            continue;            continue;
173        }        }
174        }
175    
176      if ((dopoll.dp_fds[i].revents & POLLOUT))      if ((dopoll.dp_fds[i].revents & POLLOUT))
177        {
178        if ((hdl = F->write_handler) != NULL)        if ((hdl = F->write_handler) != NULL)
179        {        {
180          F->write_handler = NULL;          F->write_handler = NULL;
# Line 179  comm_select(void) Line 182  comm_select(void)
182          if (!F->flags.open)          if (!F->flags.open)
183            continue;            continue;
184        }        }
185        }
186    
187      comm_setselect(F, 0, NULL, NULL, 0);      comm_setselect(F, 0, NULL, NULL, 0);
188    }    }

Legend:
Removed from v.2649  
changed lines
  Added in v.2650

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