From d103ea97df331793f158c4b6572769ebb252b7bb Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 25 Feb 2015 10:57:56 +1100 Subject: [PATCH] Only kill off proxy if it's actually dead --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index ee29c978..8adb95e2 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1286,7 +1286,8 @@ static void update_subscribe(ckpool_t *ckp, const char *cmd) /* Is this a replacement for an existing proxy id? */ old = existing_subproxy(sdata, id, subid); if (old) { - dead_proxyid(sdata, id, subid); + if (old->dead) + dead_proxyid(sdata, id, subid); proxy = old; proxy->dead = false; } else