diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-11-10 23:38:21 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-11-10 23:38:21 +0000 |
commit | 90154d43ea47d82637b615f35d0c8462f4007c3d (patch) | |
tree | 39d7db420ee9bc6eb252c2e6d937f6d9b584ff19 /src/gns/gnunet-service-gns.c | |
parent | 172ab07eeb1215cc9d22dabc589f7529ac2d59ea (diff) | |
download | gnunet-90154d43ea47d82637b615f35d0c8462f4007c3d.tar.gz gnunet-90154d43ea47d82637b615f35d0c8462f4007c3d.zip |
Fix incompatability with musl libc.
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index d2e5cda85..f20166e38 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, NULL); | 262 | GNUNET_SERVER_client_set_user_context (clh->client, (void *)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); |
@@ -702,7 +702,7 @@ send_lookup_response (void* cls, | |||
702 | GNUNET_NO); | 702 | GNUNET_NO); |
703 | GNUNET_free (rmsg); | 703 | GNUNET_free (rmsg); |
704 | GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); | 704 | GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); |
705 | GNUNET_SERVER_client_set_user_context (clh->client, NULL); | 705 | GNUNET_SERVER_client_set_user_context (clh->client, (void *)NULL); |
706 | GNUNET_free (clh); | 706 | GNUNET_free (clh); |
707 | GNUNET_STATISTICS_update (statistics, | 707 | GNUNET_STATISTICS_update (statistics, |
708 | "Completed lookups", 1, | 708 | "Completed lookups", 1, |