From 0cbb0f3ac64a8818fdc4f4de1a7521f435f7bcaf Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 5 Dec 2017 21:37:31 +0100 Subject: ipcpd: Fix missing bracket in DHT ca2f47d had a missing bracket after a last-minute update to simplify the logic. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/normal/dht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd/normal') diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c index 221248aa..1fc129cc 100644 --- a/src/ipcpd/normal/dht.c +++ b/src/ipcpd/normal/dht.c @@ -2503,7 +2503,7 @@ static void * dht_handle_sdu(void * o) pthread_rwlock_wrlock(&dht->lock); if ((dht->state == DHT_JOINING || dht->state == DHT_RUNNING) && - dht_update_bucket(dht, msg->s_id.data, addr) + dht_update_bucket(dht, msg->s_id.data, addr)) log_warn("Failed to update bucket."); pthread_rwlock_unlock(&dht->lock); } -- cgit v1.2.3