aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/mesh_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 72428790e..971f491d2 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -166,6 +166,7 @@ core_startup (void *cls,
166static size_t 166static size_t
167send_hello_message (void *cls, size_t size, void *buf) 167send_hello_message (void *cls, size_t size, void *buf)
168{ 168{
169 if (cls == NULL) return 0;
169 struct GNUNET_MESH_Handle *handle = cls; 170 struct GNUNET_MESH_Handle *handle = cls;
170 struct GNUNET_MessageHeader *hdr = buf; 171 struct GNUNET_MessageHeader *hdr = buf;
171 172