- fix coverity
[oweals/gnunet.git] / src / transport / test_transport_address_switch.c
index 73047f89c22926d103fc40be3d4f1af3e41a5bee..6c86a160f4bbda9f28e9f6ea89671bd9db7ada5d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  This file is part of GNUnet.
- Copyright (C) 2009, 2010, 2011 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2009, 2010, 2011 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 transport/test_transport_address_switch.c
@@ -108,7 +108,7 @@ static struct GNUNET_TRANSPORT_TransmitHandle *th;
 
 static struct GNUNET_TRANSPORT_TESTING_handle *tth;
 
-static GNUNET_TRANSPORT_TESTING_ConnectRequest cc;
+static struct GNUNET_TRANSPORT_TESTING_ConnectRequest * cc;
 
 static int test_connected;
 
@@ -564,8 +564,7 @@ sendtask ()
 
 
 static void
-progress_indicator (void *cls,
-                    const struct GNUNET_SCHEDULER_TaskContext *tc)
+progress_indicator (void *cls)
 {
   static int counter;