improving r17722
authorChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 16:15:13 +0000 (16:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 16:15:13 +0000 (16:15 +0000)
src/include/gnunet_ats_service.h
src/include/gnunet_transport_service.h

index f2d1c2aad4fd9b42e7a11f89ae44b6a00c88ca12..3d1c5b2b2e9eae5c015d6c8bf88e46ef8a9ca4f0 100644 (file)
@@ -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;
 };
 
 
index 5f719f859d135558db9ed947c6393d76c4449ca6..2d6e515fa4ada6c8fc90ae2226637db79c5055cf 100644 (file)
@@ -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