diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-12-05 21:37:31 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-12-05 21:38:18 +0100 |
commit | 0cbb0f3ac64a8818fdc4f4de1a7521f435f7bcaf (patch) | |
tree | 40a493cf5a171cf2c7aa5c13e6c30bd4457ce35c | |
parent | ca2f47d8b1d2061b0fc63ebefe53424e28ef18bb (diff) | |
download | ouroboros-0cbb0f3ac64a8818fdc4f4de1a7521f435f7bcaf.tar.gz ouroboros-0cbb0f3ac64a8818fdc4f4de1a7521f435f7bcaf.zip |
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 <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
-rw-r--r-- | src/ipcpd/normal/dht.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |