aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-import.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-09 23:14:03 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-09 23:14:03 +0000
commit29e6158507a0758192075ac6ece7ba8e75ddc49a (patch)
treeb91ded48da322f8ba4c9bb0f5504228aa036c2d1 /src/gns/gnunet-gns-import.c
parent5dfcb058ab5db9ae0c4b147d8a99c64ca0980028 (diff)
downloadgnunet-29e6158507a0758192075ac6ece7ba8e75ddc49a.tar.gz
gnunet-29e6158507a0758192075ac6ece7ba8e75ddc49a.zip
small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context()
Diffstat (limited to 'src/gns/gnunet-gns-import.c')
-rw-r--r--src/gns/gnunet-gns-import.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gns/gnunet-gns-import.c b/src/gns/gnunet-gns-import.c
index ad874cfeb..5f94e7792 100644
--- a/src/gns/gnunet-gns-import.c
+++ b/src/gns/gnunet-gns-import.c
@@ -344,11 +344,9 @@ get_ego (void *cls,
344 * Task run on shutdown. 344 * Task run on shutdown.
345 * 345 *
346 * @param cls NULL 346 * @param cls NULL
347 * @param tc unused
348 */ 347 */
349static void 348static void
350shutdown_task (void *cls, 349shutdown_task (void *cls)
351 const struct GNUNET_SCHEDULER_TaskContext *tc)
352{ 350{
353 GNUNET_free_non_null (master_zone_pkey); 351 GNUNET_free_non_null (master_zone_pkey);
354 master_zone_pkey = NULL; 352 master_zone_pkey = NULL;