aboutsummaryrefslogtreecommitdiff
path: root/src/fragmentation/test_fragmentation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fragmentation/test_fragmentation.c')
-rw-r--r--src/fragmentation/test_fragmentation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fragmentation/test_fragmentation.c b/src/fragmentation/test_fragmentation.c
index 4415664a4..25f1c2053 100644
--- a/src/fragmentation/test_fragmentation.c
+++ b/src/fragmentation/test_fragmentation.c
@@ -208,7 +208,7 @@ run (void *cls,
208 for (i=0;i<NUM_MSGS;i++) 208 for (i=0;i<NUM_MSGS;i++)
209 { 209 {
210 msg->type = htons ((uint16_t) i); 210 msg->type = htons ((uint16_t) i);
211 msg->size = htons ( 1 + (17 * i) % (32 * 1024)); 211 msg->size = htons (sizeof (struct GNUNET_MessageHeader) + (17 * i) % (32 * 1024));
212 frags[i] = GNUNET_FRAGMENT_context_create (NULL /* no stats */, 212 frags[i] = GNUNET_FRAGMENT_context_create (NULL /* no stats */,
213 MTU, 213 MTU,
214 &trackers[i], 214 &trackers[i],