ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd_kqueue.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/s_bsd_kqueue.c (file contents):
Revision 2613 by michael, Mon Dec 2 18:16:38 2013 UTC vs.
Revision 2614 by michael, Mon Dec 2 18:20:23 2013 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)