- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git] / src / namecache / gnunet-service-namecache.c
index 701bac4aeb3dd8e73dc1b9dec44724cda5e158ea..0b3ece1f465b3476d496e1f32aa23f12b14704ad 100644 (file)
@@ -122,7 +122,7 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   while (NULL != (nc = client_head))
   {
     GNUNET_CONTAINER_DLL_remove (client_head, client_tail, nc);
-    GNUNET_SERVER_client_set_user_context (nc->client, NULL);
+    GNUNET_SERVER_client_set_user_context (nc->client, (void *)NULL);
     GNUNET_free (nc);
   }
   GNUNET_break (NULL == GNUNET_PLUGIN_unload (db_lib_name, GSN_database));