From: Christian Grothoff Date: Mon, 24 Oct 2011 16:15:13 +0000 (+0000) Subject: improving r17722 X-Git-Tag: initial-import-from-subversion-38251~16280 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9d0dded2c28907cfe79d419a5d58f27bc69ba80f;p=oweals%2Fgnunet.git improving r17722 --- diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index f2d1c2aad..3d1c5b2b2 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h @@ -435,12 +435,12 @@ struct GNUNET_ATS_Information /** * ATS property type, in network byte order. */ - uint32_t type; + uint32_t type GNUNET_PACKED; /** * ATS property value, in network byte order. */ - uint32_t value; + uint32_t value GNUNET_PACKED; }; diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 5f719f859..2d6e515fa 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h @@ -51,7 +51,7 @@ extern "C" * @param peer (claimed) identity of the other peer * @param message the message * @param ats performance data - * @param ats_count number of entries in ats (excluding 0-termination) + * @param ats_count number of entries in ats */ typedef void (*GNUNET_TRANSPORT_ReceiveCallback) (void *cls, const struct