}
static void
-end_now ()
+end_now (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Test successful, shutting down...\n");
if (GNUNET_SCHEDULER_NO_TASK != die_task)
}
}
}
- end_now ();
+ GNUNET_SCHEDULER_add_now (&end_now, NULL);
}
static void
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"System resolver not working. Test inconclusive!\n");
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n");
- end_now ();
+ GNUNET_SCHEDULER_add_now (&end_now, NULL);
return;
}
GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Starting lookup \n");