From: Niels Provos Date: Sun, 10 Apr 2005 07:18:18 +0000 (+0000) Subject: type; set the priorities based on the correct base; reported by Vinh D. Lee X-Git-Tag: release-1.1b~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc2c695b7672490e320b28f602e8207ce2dd3cac;p=libevent type; set the priorities based on the correct base; reported by Vinh D. Lee svn:r147 --- diff --git a/event.c b/event.c index b9b4e28f..8220afa8 100644 --- a/event.c +++ b/event.c @@ -468,7 +468,7 @@ event_base_set(struct event_base *base, struct event *ev) return (-1); ev->ev_base = base; - ev->ev_pri = current_base->nactivequeues/2; + ev->ev_pri = base->nactivequeues/2; return (0); }