summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-05-08 11:56:25 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-05-08 12:07:01 +0200
commitba30eb7a57f3561eec8f24e36901847e5e13753f (patch)
tree92eef9a8e87ec9d89c9c3293dcbbc6f9ec0f7a18
parent42a92c75ea85760b145e1531482e9b2b8cea48fe (diff)
downloadouroboros-0.11.5.tar.gz
ouroboros-0.11.5.zip
ipcpd: Include ipcp-dev header in DHT0.11.5
The DHT called ipcp_sdb_release without including ipcp-dev, causing compiler errors on some machines. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/ipcpd/normal/dht.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3502504e..fddff4d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ include(GNUInstallDirs)
set(PACKAGE_VERSION_MAJOR 0)
set(PACKAGE_VERSION_MINOR 11)
-set(PACKAGE_VERSION_PATCH 4)
+set(PACKAGE_VERSION_PATCH 5)
set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(PACKAGE_DESCRIPTION "The Ouroboros prototype")
diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c
index faf3a35e..59451d19 100644
--- a/src/ipcpd/normal/dht.c
+++ b/src/ipcpd/normal/dht.c
@@ -28,6 +28,7 @@
#define OUROBOROS_PREFIX DHT
#include <ouroboros/hash.h>
+#include <ouroboros/ipcp-dev.h>
#include <ouroboros/bitmap.h>
#include <ouroboros/errno.h>
#include <ouroboros/logs.h>
@@ -2736,7 +2737,6 @@ static void handle_event(void * self,
if (dht_set_state(dht, DHT_JOINING) == 0 ||
dht_wait_running(dht)) {
- log_dbg("creating join thread.");
if (pthread_create(&thr, NULL, join_thr, inf)) {
dht_set_state(dht, DHT_INIT);
free(inf);