gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19015 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r19015 - gnunet/src/dht
Date: Thu, 5 Jan 2012 19:26:01 +0100

Author: bartpolot
Date: 2012-01-05 19:26:01 +0100 (Thu, 05 Jan 2012)
New Revision: 19015

Modified:
   gnunet/src/dht/dht_api.c
Log:
- Assert callback as in other calls

Modified: gnunet/src/dht/dht_api.c
===================================================================
--- gnunet/src/dht/dht_api.c    2012-01-05 17:12:42 UTC (rev 19014)
+++ gnunet/src/dht/dht_api.c    2012-01-05 18:26:01 UTC (rev 19015)
@@ -968,6 +968,7 @@
   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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]