aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht_api.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-05 18:26:01 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-05 18:26:01 +0000
commitc84257c7030b727a09ac92b295f404077969ad0c (patch)
treeac255a34c72722199a4a9978f462e50d114b2eb6 /src/dht/dht_api.c
parent78259b33f194ac9901465f2f4c37431f74c3d971 (diff)
- Assert callback as in other calls
Diffstat (limited to 'src/dht/dht_api.c')
-rw-r--r--src/dht/dht_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c
index a715fec9dd..a49af335bd 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -968,6 +968,7 @@ GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle,
h = GNUNET_malloc (sizeof (struct GNUNET_DHT_MonitorHandle));
GNUNET_CONTAINER_DLL_insert(handle->monitor_head, handle->monitor_tail, h);
+ GNUNET_assert (NULL != cb);
h->cb = cb;
h->cb_cls = cb_cls;
h->type = type;