From a9703f853339aaffe10d02e34e46465fa77796fc Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Wed, 3 Oct 2012 08:51:36 +0200 Subject: [PATCH] another fix for lrc --- core/subscription.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/subscription.c b/core/subscription.c index 5c95113b..82cce2ae 100644 --- a/core/subscription.c +++ b/core/subscription.c @@ -88,6 +88,7 @@ static struct uwsgi_subscribe_node *uwsgi_subscription_algo_lrc(struct uwsgi_sub if (min_rc == 0 || node->reference < min_rc) { min_rc = node->reference; choosen_node = node; + if (min_rc == 0) break; } } node = node->next;