From c84257c7030b727a09ac92b295f404077969ad0c Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 5 Jan 2012 18:26:01 +0000 Subject: [PATCH] - Assert callback as in other calls --- src/dht/dht_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c index a715fec9d..a49af335b 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; -- 2.25.1