diff options
author | Gabor X Toth <*@tg-x.net> | 2016-01-06 12:28:45 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2016-01-06 12:28:45 +0000 |
commit | 7d1dfe26d99376a341bb150eb89ba717bb883077 (patch) | |
tree | 0aaeb2477fc34fdb8c975fe398d52fa77bd34760 /src/multicast | |
parent | 2ca7a3ee4e0b145f6fdb6be347962e16ad92ca3a (diff) | |
download | gnunet-7d1dfe26d99376a341bb150eb89ba717bb883077.tar.gz gnunet-7d1dfe26d99376a341bb150eb89ba717bb883077.zip |
multicast test: now compiles in non-C99 mode
Diffstat (limited to 'src/multicast')
-rw-r--r-- | src/multicast/test_multicast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/multicast/test_multicast.c b/src/multicast/test_multicast.c index f35c2885a..083af2ecc 100644 --- a/src/multicast/test_multicast.c +++ b/src/multicast/test_multicast.c | |||
@@ -535,7 +535,8 @@ origin_to_all () | |||
535 | *tmit = (struct TransmitClosure) {}; | 535 | *tmit = (struct TransmitClosure) {}; |
536 | tmit->data[0] = "ABC DEF"; | 536 | tmit->data[0] = "ABC DEF"; |
537 | tmit->data[1] = GNUNET_malloc (GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD + 1); | 537 | tmit->data[1] = GNUNET_malloc (GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD + 1); |
538 | for (uint16_t i = 0; i < GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD; i++) | 538 | uint16_t i; |
539 | for (i = 0; i < GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD; i++) | ||
539 | tmit->data[1][i] = (0 == i % 10000) ? '0' + i / 10000 : '_'; | 540 | tmit->data[1][i] = (0 == i % 10000) ? '0' + i / 10000 : '_'; |
540 | tmit->data[2] = "GHI JKL MNO"; | 541 | tmit->data[2] = "GHI JKL MNO"; |
541 | tmit->data_delay[2] = 2; | 542 | tmit->data_delay[2] = 2; |