From 03f044a72bcb1a9ec740211caeeb7cd5ef98e650 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 24 Apr 2015 16:48:20 +0200 Subject: [PATCH] subscriptions: fix the weight init issue caused by last commits --- src/subscriptions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/subscriptions.c b/src/subscriptions.c index 56415a561..9ac7d2366 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -654,6 +654,8 @@ subscription_create if (s->ths_prch) s->ths_weight = profile_chain_weight(s->ths_prch, weight); + else + s->ths_weight = weight; if (pro && pro->pro_restart) s->ths_flags |= SUBSCRIPTION_RESTART; -- 2.47.2