projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78259b3
)
- Assert callback as in other calls
author
Bart Polot
<bart@net.in.tum.de>
Thu, 5 Jan 2012 18:26:01 +0000
(18:26 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 5 Jan 2012 18:26:01 +0000
(18:26 +0000)
src/dht/dht_api.c
patch
|
blob
|
history
diff --git
a/src/dht/dht_api.c
b/src/dht/dht_api.c
index a715fec9dd51c8ff79b568b0dfb9115ebd331635..a49af335bd6b97889e9b288758479dcadca91df6 100644
(file)
--- 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;