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

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

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

revision 2613 by michael, Mon Dec 2 18:16:38 2013 UTC revision 2614 by michael, Mon Dec 2 18:20:23 2013 UTC
# Line 50  Line 50 
50  static fde_t kqfd;  static fde_t kqfd;
51  static struct kevent kq_fdlist[KE_LENGTH];  /* kevent buffer */  static struct kevent kq_fdlist[KE_LENGTH];  /* kevent buffer */
52  static int kqoff;      /* offset into the buffer */  static int kqoff;      /* offset into the buffer */
 void init_netio(void);  
53    
54  /*  /*
55   * init_netio   * init_netio
# Line 183  comm_select(void) Line 182  comm_select(void)
182        {        {
183          F->read_handler = NULL;          F->read_handler = NULL;
184          hdl(F, F->read_data);          hdl(F, F->read_data);
185          if (!F->flags.open)          if (!F->flags.open)
186            continue;            continue;
187        }        }
188    
189      if (ke[i].filter == EVFILT_WRITE)      if (ke[i].filter == EVFILT_WRITE)
# Line 192  comm_select(void) Line 191  comm_select(void)
191        {        {
192          F->write_handler = NULL;          F->write_handler = NULL;
193          hdl(F, F->write_data);          hdl(F, F->write_data);
194          if (!F->flags.open)          if (!F->flags.open)
195            continue;            continue;
196        }        }
197    
198      comm_setselect(F, 0, NULL, NULL, 0);      comm_setselect(F, 0, NULL, NULL, 0);

Legend:
Removed from v.2613  
changed lines
  Added in v.2614

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