diff options
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r-- | src/transport/plugin_transport_http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 7e740293b..784dd3002 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -257,13 +257,13 @@ http_plugin_receive (void *cls, const struct GNUNET_PeerIdentity * peer, | |||
257 | { | 257 | { |
258 | struct Session *s = cls; | 258 | struct Session *s = cls; |
259 | struct Plugin *plugin = s->plugin; | 259 | struct Plugin *plugin = s->plugin; |
260 | struct GNUNET_TRANSPORT_ATS_Information distance; | 260 | struct GNUNET_ATS_Information distance; |
261 | struct GNUNET_TIME_Relative delay; | 261 | struct GNUNET_TIME_Relative delay; |
262 | 262 | ||
263 | distance.type = htonl (GNUNET_TRANSPORT_ATS_QUALITY_NET_DISTANCE); | 263 | distance.type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE); |
264 | distance.value = htonl (1); | 264 | distance.value = htonl (1); |
265 | 265 | ||
266 | delay = plugin->env->receive (plugin->env->cls, &s->target, message, (const struct GNUNET_TRANSPORT_ATS_Information*) &distance, 1, s, s->addr, s->addrlen); | 266 | delay = plugin->env->receive (plugin->env->cls, &s->target, message, (const struct GNUNET_ATS_Information*) &distance, 1, s, s->addr, s->addrlen); |
267 | return delay; | 267 | return delay; |
268 | } | 268 | } |
269 | 269 | ||