From e827d9debeb9745f57b39576c55617de837382db Mon Sep 17 00:00:00 2001 From: Kaian Date: Tue, 24 Mar 2020 17:46:43 +0100 Subject: [PATCH] msg: reverse retransmission detection logic --- src/storage/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/message.c b/src/storage/message.c index de6e8f1..a99bb0a 100644 --- a/src/storage/message.c +++ b/src/storage/message.c @@ -231,7 +231,7 @@ msg_is_retransmission(Message *msg) msg->retrans = (original != NULL) ? 1 : 0; } - return (msg->retrans == 0) ? TRUE : FALSE; + return (msg->retrans == 0) ? FALSE : TRUE; } const Message *