diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-08-26 13:01:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-08-26 13:01:19 +0000 |
commit | 4dc513b0d1b1dceaf8c732b43226d4053aadf397 (patch) | |
tree | a13d3f585528baebb2fe070232e3530e38c4e458 /src/include/gnunet_multicast_service.h | |
parent | 140c058ad6dc7a96783b701928b71afd0374ff71 (diff) | |
download | gnunet-4dc513b0d1b1dceaf8c732b43226d4053aadf397.tar.gz gnunet-4dc513b0d1b1dceaf8c732b43226d4053aadf397.zip |
fix MAX_PAYLOAD definition, thereby fixing wrong type for GNUNET_log
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r-- | src/include/gnunet_multicast_service.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index df6f897f4..3829a7040 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -225,11 +225,11 @@ GNUNET_NETWORK_STRUCT_END | |||
225 | /** | 225 | /** |
226 | * Maximum size of a multicast message fragment. | 226 | * Maximum size of a multicast message fragment. |
227 | */ | 227 | */ |
228 | #define GNUNET_MULTICAST_FRAGMENT_MAX_SIZE 63 * 1024 | 228 | #define GNUNET_MULTICAST_FRAGMENT_MAX_SIZE (63 * 1024) |
229 | 229 | ||
230 | #define GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD \ | 230 | #define GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD \ |
231 | GNUNET_MULTICAST_FRAGMENT_MAX_SIZE \ | 231 | (GNUNET_MULTICAST_FRAGMENT_MAX_SIZE \ |
232 | - sizeof (struct GNUNET_MULTICAST_MessageHeader) | 232 | - sizeof (struct GNUNET_MULTICAST_MessageHeader)) |
233 | 233 | ||
234 | 234 | ||
235 | /** | 235 | /** |