/*
This file is part of GNUnet.
- Copyright (C) 2004, 2005, 2006, 2007, 2009, 2011, 2015 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2004, 2005, 2006, 2007, 2009, 2011, 2015 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
* depending on the current state.
*
* @param cls the `struct CpsRunContext`
- * @param tc scheduler context (unused)
*/
static void
-run_continuation (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext *tc);
+run_continuation (void *cls);
/**
* depending on the current state.
*
* @param cls the `struct CpsRunContext`
- * @param tc scheduler context (unused)
*/
static void
-run_continuation (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext *tc)
+run_continuation (void *cls)
{
struct CpsRunContext *crc = cls;
size_t size;
static char data[65536];
char gstr[128];
- if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
- crc->phase = RP_ERROR;
ok = (int) crc->phase;
switch (crc->phase)
{