[asterisk-commits] tilghman: trunk r262940 - /trunk/res/res_timing_kqueue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 13 11:46:22 CDT 2010
Author: tilghman
Date: Thu May 13 11:46:18 2010
New Revision: 262940
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=262940
Log:
Hmmm, probably should have read the manpage more thoroughly.
Modified:
trunk/res/res_timing_kqueue.c
Modified: trunk/res/res_timing_kqueue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_timing_kqueue.c?view=diff&rev=262940&r1=262939&r2=262940
==============================================================================
--- trunk/res/res_timing_kqueue.c (original)
+++ trunk/res/res_timing_kqueue.c Thu May 13 11:46:18 2010
@@ -147,11 +147,11 @@
{
struct timespec nowait = { 0, 1 };
#ifdef HAVE_KEVENT64
- struct kevent64 kev;
+ struct kevent64_s kev;
EV_SET64(&kev, our_timer->handle, EVFILT_TIMER, EV_ADD | EV_ENABLE, NOTE_NSECONDS,
- nsecs, NULL, 0, 0);
- kevent64(our_timer->handle, &kev, 1, NULL, 0, &nowait);
+ nsecs, 0, 0, 0);
+ kevent64(our_timer->handle, &kev, 1, NULL, 0, 0, &nowait);
#else
struct kevent kev;
More information about the asterisk-commits
mailing list