From: root Date: Fri, 2 Nov 2007 20:21:33 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-0_5~46 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/338036c31a5f2290ed99ef7e27f1bc450f8487bd?ds=sidebyside *** empty log message *** --- diff --git a/ev.c b/ev.c index 23507bd..a9864a7 100644 --- a/ev.c +++ b/ev.c @@ -860,6 +860,9 @@ ev_clear_pending (W w) static void ev_start (W w, int active) { + if (w->priority < EV_MINPRI) w->priority = EV_MINPRI; + if (w->priority > EV_MAXPRI) w->priority = EV_MAXPRI; + w->active = active; }