diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:08:37 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:08:37 +0000 |
commit | 569a28bc648b2d073361fea5dcea2fb3daf5bd57 (patch) | |
tree | fcd7501aab6293d31bc4e82b0f59f24834325ee1 /src/transport/transport-testing.c | |
parent | 1c01ca33a8a4120bd47ce22d1856cb2f81355628 (diff) | |
download | gnunet-569a28bc648b2d073361fea5dcea2fb3daf5bd57.tar.gz gnunet-569a28bc648b2d073361fea5dcea2fb3daf5bd57.zip |
api fix
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r-- | src/transport/transport-testing.c | 5 |
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 | ||
69 | static void | 69 | static void |
70 | notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 70 | notify_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)); |