fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 25 Oct 2011 22:08:00 +0000 (22:08 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 25 Oct 2011 22:08:00 +0000 (22:08 +0000)
src/transport/transport-testing.c

index 2c2838127f1f6be3e25a5c2a0b9798e21fd410b3..a4eba609d91b9956faff4573e6e1a851bab35c5a 100644 (file)
 
 #define VERBOSE GNUNET_YES
 
-static struct PeerContext *
-find_peer_context_by_pc ( struct GNUNET_TRANSPORT_TESTING_handle *tth,
-                          struct PeerContext *p)
-{
-  GNUNET_assert (tth != NULL);
-  struct PeerContext * t = tth->p_head;
-
-  while (t != NULL)
-  {
-    if (p == t)
-      break;
-    t = t->next;
-  }
-
-  return t;
-}
-
 
 static struct PeerContext *
 find_peer_context ( struct GNUNET_TRANSPORT_TESTING_handle *tth,