commit b0d5e92f1bd0e9be72b8e0a3040b33e39dd07316
parent 72bd82ab5a1211ae9f1c9c80363058fd8f7dfe61
Author: LRN <lrn1986@gmail.com>
Date: Tue, 8 Oct 2013 23:15:23 +0000
Sanity check
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/ats/gnunet-service-ats_scheduling.c b/src/ats/gnunet-service-ats_scheduling.c
@@ -487,6 +487,7 @@ GAS_handle_address_destroyed (void *cls, struct GNUNET_SERVER_Client *client,
void
GAS_scheduling_init (struct GNUNET_SERVER_Handle *server, struct GAS_Addresses_Handle *ah)
{
+ GNUNET_assert (NULL != ah);
address_handle = ah;
nc = GNUNET_SERVER_notification_context_create (server, 128);
}