diff options
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 32331d9d9..bb0b86077 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c | |||
@@ -145,15 +145,14 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
145 | 145 | ||
146 | static void | 146 | static void |
147 | notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, | 147 | notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, |
148 | const struct GNUNET_MessageHeader *message, | 148 | const struct GNUNET_MessageHeader *message) |
149 | const struct GNUNET_ATS_Information *ats, uint32_t ats_count) | ||
150 | { | 149 | { |
151 | struct PeerContext *p = cls; | 150 | struct PeerContext *p = cls; |
152 | 151 | ||
153 | if (p == NULL) | 152 | if (p == NULL) |
154 | return; | 153 | return; |
155 | if (p->rec != NULL) | 154 | if (p->rec != NULL) |
156 | p->rec (p->cb_cls, peer, message, ats, ats_count); | 155 | p->rec (p->cb_cls, peer, message); |
157 | } | 156 | } |
158 | 157 | ||
159 | 158 | ||