From 73424ae66a08715a4ab700e9afaa0f974d0fc232 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 8 Jul 2020 19:47:55 +0100 Subject: [PATCH] ss: proxy: smd: use correct zombie vs message check --- lib/system/smd/smd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/smd/smd.c b/lib/system/smd/smd.c index 2070fa0c2..1ba0191d6 100644 --- a/lib/system/smd/smd.c +++ b/lib/system/smd/smd.c @@ -94,7 +94,7 @@ _lws_smd_msg_assess_peers_interested(lws_smd_t *smd, lws_smd_msg_t *msg) (!pr->timestamp_left || /* if zombie, only contribute to * refcount if msg from before we * left */ - pr->timestamp_left < msg->timestamp) && + pr->timestamp_left >= msg->timestamp) && (msg->_class & pr->_class_filter)) /* * This peer wants to consume it