aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index bb0b86077..8875afb8e 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -67,8 +67,7 @@ find_connecting_context (struct GNUNET_TRANSPORT_TESTING_handle *tth,
67 67
68 68
69static void 69static void
70notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 70notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer)
71 const struct GNUNET_ATS_Information *ats, uint32_t ats_count)
72{ 71{
73 struct PeerContext *p = cls; 72 struct PeerContext *p = cls;
74 char *p2_s; 73 char *p2_s;
@@ -78,7 +77,7 @@ notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
78 GNUNET_assert (NULL != p->tth); 77 GNUNET_assert (NULL != p->tth);
79 p2 = find_peer_context (p->tth, peer); 78 p2 = find_peer_context (p->tth, peer);
80 if (p->nc != NULL) 79 if (p->nc != NULL)
81 p->nc (p->cb_cls, peer, ats, ats_count); 80 p->nc (p->cb_cls, peer);
82 81
83 if (p2 != NULL) 82 if (p2 != NULL)
84 GNUNET_asprintf (&p2_s, "%u (`%s')", p2->no, GNUNET_i2s (&p2->id)); 83 GNUNET_asprintf (&p2_s, "%u (`%s')", p2->no, GNUNET_i2s (&p2->id));