From 8a0fa1ffc40d1f71f38b60d0830d2a4ffec2ffc2 Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Wed, 3 Oct 2012 07:02:32 +0200 Subject: [PATCH] fixed lrc algo --- core/subscription.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/subscription.c b/core/subscription.c index 4ed5068f..5c95113b 100644 --- a/core/subscription.c +++ b/core/subscription.c @@ -93,6 +93,10 @@ static struct uwsgi_subscribe_node *uwsgi_subscription_algo_lrc(struct uwsgi_sub node = node->next; } + if (choosen_node) { + choosen_node->reference++; + } + return choosen_node; }