aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-18 16:10:31 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-18 16:10:31 +0000
commit6cc556bed0898dcdb168248658574862920818da (patch)
tree1e4850a7756e0940142ff2009e0fabab1c7660bd /src/transport/plugin_transport_unix.c
parent2bfa211933d6285ffbdc7d871e695838b5d08b9f (diff)
downloadgnunet-6cc556bed0898dcdb168248658574862920818da.tar.gz
gnunet-6cc556bed0898dcdb168248658574862920818da.zip
transport plugin api change: split of address receive and ats updates
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index 6e9d920ba..e5b591bc4 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -823,8 +823,15 @@ unix_demultiplexer (struct Plugin *plugin, struct GNUNET_PeerIdentity *sender,
823 reschedule_session_timeout (s); 823 reschedule_session_timeout (s);
824 824
825 plugin->env->receive (plugin->env->cls, sender, currhdr, 825 plugin->env->receive (plugin->env->cls, sender, currhdr,
826 (const struct GNUNET_ATS_Information *) &ats, 2,
827 s, un->sun_path, strlen (un->sun_path) + 1); 826 s, un->sun_path, strlen (un->sun_path) + 1);
827
828 plugin->env->update_address_metrics (plugin->env->cls,
829 sender,
830 un->sun_path,
831 strlen (un->sun_path) + 1,
832 s,
833 (struct GNUNET_ATS_Information *) &ats, 2);
834
828 GNUNET_free (addr); 835 GNUNET_free (addr);
829} 836}
830 837