aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2014-12-23 04:55:01 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2014-12-23 04:55:01 +0000
commit8bcc9eb56238a7e63655ffc229363f0aaee5b0fd (patch)
tree27016e22a8b1da221834d1a5c6bfd03a74df6c0b /src/gns
parentcd5b48f92d07facc4227cbe1485df63340d06df5 (diff)
downloadgnunet-8bcc9eb56238a7e63655ffc229363f0aaee5b0fd.tar.gz
gnunet-8bcc9eb56238a7e63655ffc229363f0aaee5b0fd.zip
Remove work-around for bad NULL definition
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-service-gns.c4
1 files changed, 2 insertions, 2 deletions
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,
259 GNUNET_SERVER_notification_context_destroy (nc); 259 GNUNET_SERVER_notification_context_destroy (nc);
260 while (NULL != (clh = clh_head)) 260 while (NULL != (clh = clh_head))
261 { 261 {
262 GNUNET_SERVER_client_set_user_context (clh->client, (void *)NULL); 262 GNUNET_SERVER_client_set_user_context (clh->client, NULL);
263 GNS_resolver_lookup_cancel (clh->lookup); 263 GNS_resolver_lookup_cancel (clh->lookup);
264 GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); 264 GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh);
265 GNUNET_free (clh); 265 GNUNET_free (clh);
@@ -706,7 +706,7 @@ send_lookup_response (void* cls,
706 GNUNET_NO); 706 GNUNET_NO);
707 GNUNET_free (rmsg); 707 GNUNET_free (rmsg);
708 GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); 708 GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh);
709 GNUNET_SERVER_client_set_user_context (clh->client, (void *)NULL); 709 GNUNET_SERVER_client_set_user_context (clh->client, NULL);
710 GNUNET_free (clh); 710 GNUNET_free (clh);
711 GNUNET_STATISTICS_update (statistics, 711 GNUNET_STATISTICS_update (statistics,
712 "Completed lookups", 1, 712 "Completed lookups", 1,