diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-01-05 18:26:01 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-01-05 18:26:01 +0000 |
commit | c84257c7030b727a09ac92b295f404077969ad0c (patch) | |
tree | ac255a34c72722199a4a9978f462e50d114b2eb6 /src/dht | |
parent | 78259b33f194ac9901465f2f4c37431f74c3d971 (diff) | |
download | gnunet-c84257c7030b727a09ac92b295f404077969ad0c.tar.gz gnunet-c84257c7030b727a09ac92b295f404077969ad0c.zip |
- Assert callback as in other calls
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/dht_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
968 | h = GNUNET_malloc (sizeof (struct GNUNET_DHT_MonitorHandle)); | 968 | h = GNUNET_malloc (sizeof (struct GNUNET_DHT_MonitorHandle)); |
969 | GNUNET_CONTAINER_DLL_insert(handle->monitor_head, handle->monitor_tail, h); | 969 | GNUNET_CONTAINER_DLL_insert(handle->monitor_head, handle->monitor_tail, h); |
970 | 970 | ||
971 | GNUNET_assert (NULL != cb); | ||
971 | h->cb = cb; | 972 | h->cb = cb; |
972 | h->cb_cls = cb_cls; | 973 | h->cb_cls = cb_cls; |
973 | h->type = type; | 974 | h->type = type; |