From 9dd5a0c4db369e3f046f58d37fce3ffda0af7ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Wed, 6 Oct 2010 13:44:22 +0200 Subject: [PATCH] [mod_balancer] Fix backend selection --- src/modules/mod_balancer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/mod_balancer.c b/src/modules/mod_balancer.c index 1076e2e..d029c49 100644 --- a/src/modules/mod_balancer.c +++ b/src/modules/mod_balancer.c @@ -446,6 +446,7 @@ static liHandlerResult balancer_act_select(liVRequest *vr, gboolean backlog_prov } _balancer_context_select_backend(b, context, be_ndx); + be = &g_array_index(b->backends, backend, be_ndx); g_mutex_unlock(b->lock);