summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-09-26 15:23:49 +0200
committerSander Vrijders <sander@ouroboros.rocks>2020-09-26 16:04:24 +0200
commit59f2230689a3c07cfee0578b491660c1fc471390 (patch)
treeedbc4831494f25d3cf349061f94aab23ccd87b54
parent511e03a7f7b977ba52a19ab290254ca82320cb62 (diff)
downloadouroboros-59f2230689a3c07cfee0578b491660c1fc471390.tar.gz
ouroboros-59f2230689a3c07cfee0578b491660c1fc471390.zip
ipcpd: Fix assert in dht
Fix assignment instead of comparison operator. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
-rw-r--r--src/ipcpd/unicast/dht.c2
1 files changed, 1 insertions, 1 deletions
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);