-fix the fix
[oweals/gnunet.git] / src / util / test_server.c
index 4ef4439e7e060c835e94486083fb7a86e687fa37..189c13e18e95c9eb7576e025d3f1ac37cbc01f84 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2009, 2010, 2014 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009, 2010, 2014 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
@@ -14,8 +14,8 @@
 
      You should have received a copy of the GNU General Public License
      along with GNUnet; see the file COPYING.  If not, write to the
-     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
+     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+     Boston, MA 02110-1301, USA.
 */
 /**
  * @file util/test_server.c
@@ -74,11 +74,9 @@ static int ok;
  * Final task invoked to clean up.
  *
  * @param cls NULL
- * @param tc scheduler context
  */
 static void
-finish_up (void *cls,
-           const struct GNUNET_SCHEDULER_TaskContext *tc)
+finish_up (void *cls)
 {
   GNUNET_assert (7 == ok);
   ok = 0;
@@ -262,11 +260,9 @@ static struct GNUNET_SERVER_MessageHandler handlers[] = {
  * server.
  *
  * @param cls NULL
- * @param tc scheduler context
  */
 static void
-task (void *cls,
-      const struct GNUNET_SCHEDULER_TaskContext *tc)
+task (void *cls)
 {
   struct sockaddr_in sa;
   struct sockaddr *sap[2];