- fix coverity
[oweals/gnunet.git] / src / transport / test_transport_address_switch.c
index 52d8c441fb04323785da37c2f61bee48b340c09f..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
@@ -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;