aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-21 13:30:51 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-21 13:30:51 +0000
commitca2c35b387a67eed4d5242a0da9533be26ed0bb2 (patch)
tree8286384e30179d8023c381c4a7ec51e7aba2918e /src/transport/transport-testing.c
parent2d5ce53dfad6d68a4f7972d10bce5a08c7e8a7a9 (diff)
downloadgnunet-ca2c35b387a67eed4d5242a0da9533be26ed0bb2.tar.gz
gnunet-ca2c35b387a67eed4d5242a0da9533be26ed0bb2.zip
ats related changes in transport
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 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
146static void 146static void
147notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, 147notify_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