allow empty/NULL context message
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_to_name.c
index 31ec84a81f3f0ae292105aa5affb2b596f16effb..12bc870b4c0ba1cd28222022015511adbc013333 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2009 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009 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
@@ -63,10 +63,9 @@ static char *directory;
  * Re-establish the connection to the service.
  *
  * @param cls handle to use to re-connect.
- * @param tc scheduler context
  */
 static void
-endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+endbadly (void *cls)
 {
   if (nsh != NULL)
     GNUNET_NAMESTORE_disconnect (nsh);
@@ -79,7 +78,7 @@ endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
 
 static void
-end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+end (void *cls)
 {
   if (endbadly_task != NULL)
   {