aboutsummaryrefslogtreecommitdiff
path: root/src/dv/plugin_transport_dv.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-19 09:33:06 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-19 09:33:06 +0000
commit453364efe4a8f3d1bfd57bca478d8b0ebc1d1fc8 (patch)
treee058d4cb07be36877d8329d1b46752b379d3134e /src/dv/plugin_transport_dv.c
parentde88db7fecd4651732563450070095a2309079b7 (diff)
downloadgnunet-453364efe4a8f3d1bfd57bca478d8b0ebc1d1fc8.tar.gz
gnunet-453364efe4a8f3d1bfd57bca478d8b0ebc1d1fc8.zip
dv plugin
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r--src/dv/plugin_transport_dv.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c
index 19c577f13..e0629a3e5 100644
--- a/src/dv/plugin_transport_dv.c
+++ b/src/dv/plugin_transport_dv.c
@@ -199,8 +199,9 @@ unbox_cb (void *cls,
199 plugin->env->receive (plugin->env->cls, 199 plugin->env->receive (plugin->env->cls,
200 &session->sender, 200 &session->sender,
201 message, 201 message,
202 &ats, 1,
203 session, "", 0); 202 session, "", 0);
203 plugin->env->update_address_metrics (plugin->env->cls,
204 &session->sender, "", 0, session, &ats, 1);
204 return GNUNET_OK; 205 return GNUNET_OK;
205} 206}
206 207
@@ -246,8 +247,9 @@ handle_dv_message_received (void *cls,
246 session->active = GNUNET_YES; 247 session->active = GNUNET_YES;
247 plugin->env->receive (plugin->env->cls, sender, 248 plugin->env->receive (plugin->env->cls, sender,
248 msg, 249 msg,
249 &ats, 1, 250 session, "", 0);
250 session, "", 0); 251 plugin->env->update_address_metrics (plugin->env->cls,
252 sender, "", 0, session, &ats, 1);
251} 253}
252 254
253 255