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