diff options
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 14034e683..32f047d65 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -719,9 +719,9 @@ unix_demultiplexer (struct Plugin *plugin, struct GNUNET_PeerIdentity *sender, | |||
719 | const struct GNUNET_MessageHeader *currhdr, | 719 | const struct GNUNET_MessageHeader *currhdr, |
720 | const struct sockaddr_un *un, size_t fromlen) | 720 | const struct sockaddr_un *un, size_t fromlen) |
721 | { | 721 | { |
722 | struct GNUNET_TRANSPORT_ATS_Information distance; | 722 | struct GNUNET_ATS_Information distance; |
723 | 723 | ||
724 | distance.type = htonl (GNUNET_TRANSPORT_ATS_QUALITY_NET_DISTANCE); | 724 | distance.type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE); |
725 | distance.value = htonl (UNIX_DIRECT_DISTANCE); | 725 | distance.value = htonl (UNIX_DIRECT_DISTANCE); |
726 | 726 | ||
727 | GNUNET_assert (fromlen >= sizeof (struct sockaddr_un)); | 727 | GNUNET_assert (fromlen >= sizeof (struct sockaddr_un)); |
@@ -731,7 +731,7 @@ unix_demultiplexer (struct Plugin *plugin, struct GNUNET_PeerIdentity *sender, | |||
731 | un->sun_path); | 731 | un->sun_path); |
732 | #endif | 732 | #endif |
733 | plugin->env->receive (plugin->env->cls, sender, currhdr, | 733 | plugin->env->receive (plugin->env->cls, sender, currhdr, |
734 | (const struct GNUNET_TRANSPORT_ATS_Information *) | 734 | (const struct GNUNET_ATS_Information *) |
735 | &distance, 1, NULL, un->sun_path, | 735 | &distance, 1, NULL, un->sun_path, |
736 | strlen (un->sun_path) + 1); | 736 | strlen (un->sun_path) + 1); |
737 | } | 737 | } |