[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36791 - gnunet/src/multicast
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36791 - gnunet/src/multicast |
Date: |
Wed, 6 Jan 2016 13:28:45 +0100 |
Author: tg
Date: 2016-01-06 13:28:45 +0100 (Wed, 06 Jan 2016)
New Revision: 36791
Modified:
gnunet/src/multicast/test_multicast.c
Log:
multicast test: now compiles in non-C99 mode
Modified: gnunet/src/multicast/test_multicast.c
===================================================================
--- gnunet/src/multicast/test_multicast.c 2016-01-05 17:06:07 UTC (rev
36790)
+++ gnunet/src/multicast/test_multicast.c 2016-01-06 12:28:45 UTC (rev
36791)
@@ -535,7 +535,8 @@
*tmit = (struct TransmitClosure) {};
tmit->data[0] = "ABC DEF";
tmit->data[1] = GNUNET_malloc (GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD + 1);
- for (uint16_t i = 0; i < GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD; i++)
+ uint16_t i;
+ for (i = 0; i < GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD; i++)
tmit->data[1][i] = (0 == i % 10000) ? '0' + i / 10000 : '_';
tmit->data[2] = "GHI JKL MNO";
tmit->data_delay[2] = 2;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36791 - gnunet/src/multicast,
gnunet <=