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

Comparing ircd-hybrid-7.2/src/s_bsd_kqueue.c (file contents):
Revision 34 by lusky, Sun Oct 2 21:05:51 2005 UTC vs.
Revision 842 by adx, Fri Feb 9 21:27:48 2007 UTC

# Line 82 | Line 82 | kq_update_events(int fd, int filter, int
82  
83    EV_SET(kep, (uintptr_t) fd, (short) filter, what, 0, 0, NULL);
84  
85 <  if (kqoff == KE_LENGTH)
85 >  if (++kqoff == KE_LENGTH)
86    {
87      kevent(kqfd.fd, kq_fdlist, kqoff, NULL, 0, &zero_timespec);
88      kqoff = 0;
89    }
90  else
91    kqoff++;
90   }
91  
92   /*

Diff Legend

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