From 59f2230689a3c07cfee0578b491660c1fc471390 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 26 Sep 2020 15:23:49 +0200 Subject: ipcpd: Fix assert in dht Fix assignment instead of comparison operator. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/unicast/dht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd') diff --git a/src/ipcpd/unicast/dht.c b/src/ipcpd/unicast/dht.c index 8a78bfca..f9d43f7d 100644 --- a/src/ipcpd/unicast/dht.c +++ b/src/ipcpd/unicast/dht.c @@ -1729,7 +1729,7 @@ static struct lookup * kad_lookup(struct dht * dht, } } - assert(state = LU_COMPLETE); + assert(state == LU_COMPLETE); lookup_detach(dht, lu); -- cgit v1.2.3