From 8bcc9eb56238a7e63655ffc229363f0aaee5b0fd Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Tue, 23 Dec 2014 04:55:01 +0000 Subject: Remove work-around for bad NULL definition --- src/gns/gnunet-service-gns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gns') diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index d9eae6a09..57cdbc5f5 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c @@ -259,7 +259,7 @@ shutdown_task (void *cls, GNUNET_SERVER_notification_context_destroy (nc); while (NULL != (clh = clh_head)) { - GNUNET_SERVER_client_set_user_context (clh->client, (void *)NULL); + GNUNET_SERVER_client_set_user_context (clh->client, NULL); GNS_resolver_lookup_cancel (clh->lookup); GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); GNUNET_free (clh); @@ -706,7 +706,7 @@ send_lookup_response (void* cls, GNUNET_NO); GNUNET_free (rmsg); GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); - GNUNET_SERVER_client_set_user_context (clh->client, (void *)NULL); + GNUNET_SERVER_client_set_user_context (clh->client, NULL); GNUNET_free (clh); GNUNET_STATISTICS_update (statistics, "Completed lookups", 1, -- cgit v1.2.3