From bc2c695b7672490e320b28f602e8207ce2dd3cac Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Sun, 10 Apr 2005 07:18:18 +0000 Subject: [PATCH] type; set the priorities based on the correct base; reported by Vinh D. Lee svn:r147 --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.40.0