projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[oweals/gnunet.git]
/
src
/
dv
/
plugin_transport_dv.c
diff --git
a/src/dv/plugin_transport_dv.c
b/src/dv/plugin_transport_dv.c
index feb8a2e574867c2dcbc01f0b86f588966f9c40f7..5e2a6bd6c072ee677f9b760d3a156241fdebb070 100644
(file)
--- a/
src/dv/plugin_transport_dv.c
+++ b/
src/dv/plugin_transport_dv.c
@@
-162,16
+162,16
@@
handle_dv_message_received (void *cls, struct GNUNET_PeerIdentity *sender,
distance);
GNUNET_free_non_null (my_id);
#endif
distance);
GNUNET_free_non_null (my_id);
#endif
- struct GNUNET_
TRANSPORT_
ATS_Information ats[2];
+ struct GNUNET_ATS_Information ats[2];
- ats[0].type = htonl (GNUNET_
TRANSPORT_
ATS_QUALITY_NET_DISTANCE);
+ ats[0].type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE);
ats[0].value = htonl (distance);
ats[0].value = htonl (distance);
- ats[1].type = htonl (GNUNET_
TRANSPORT_
ATS_ARRAY_TERMINATOR);
+ ats[1].type = htonl (GNUNET_ATS_ARRAY_TERMINATOR);
ats[1].value = htonl (0);
plugin->env->receive (plugin->env->cls, sender,
(struct GNUNET_MessageHeader *) msg,
ats[1].value = htonl (0);
plugin->env->receive (plugin->env->cls, sender,
(struct GNUNET_MessageHeader *) msg,
- (const struct GNUNET_
TRANSPORT_
ATS_Information *) &ats,
+ (const struct GNUNET_ATS_Information *) &ats,
2, NULL, sender_address, sender_address_len);
}
2, NULL, sender_address, sender_address_len);
}