ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.xs
(Generate patch)

Comparing EV/EV.xs (file contents):
Revision 1.11 by root, Mon Oct 29 08:48:07 2007 UTC vs.
Revision 1.12 by root, Mon Oct 29 08:51:44 2007 UTC

62} 62}
63 63
64static void 64static void
65api_once (int fd, short events, double timeout, void (*cb)(int, short, void *), void *arg) 65api_once (int fd, short events, double timeout, void (*cb)(int, short, void *), void *arg)
66{ 66{
67 if (timeout) 67 if (timeout >= 0.)
68 { 68 {
69 struct timeval tv; 69 struct timeval tv;
70 tv_set (&tv, timeout); 70 tv_set (&tv, timeout);
71 event_once (fd, events, cb, arg, &tv); 71 event_once (fd, events, cb, arg, &tv);
72 } 72 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines