[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27289 - gnunet/src/testbed
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27289 - gnunet/src/testbed |
Date: |
Fri, 24 May 2013 14:20:55 +0200 |
Author: harsha
Date: 2013-05-24 14:20:55 +0200 (Fri, 24 May 2013)
New Revision: 27289
Modified:
gnunet/src/testbed/testbed_api_testbed.c
Log:
- do not create peers on the island controller
Modified: gnunet/src/testbed/testbed_api_testbed.c
===================================================================
--- gnunet/src/testbed/testbed_api_testbed.c 2013-05-24 12:15:40 UTC (rev
27288)
+++ gnunet/src/testbed/testbed_api_testbed.c 2013-05-24 12:20:55 UTC (rev
27289)
@@ -839,7 +839,7 @@
#if ENABLE_LL
if (0 != rc->nislands)
{
- island = rc->islands[icnt];
+ island = rc->islands[icnt];
if (hcnt == island->nhosts)
{
icnt++;
@@ -848,6 +848,8 @@
island = rc->islands[icnt];
hcnt = 0;
}
+ if ( (0 == hcnt) && (1 < island->nhosts) )
+ hcnt = 1;
GNUNET_assert (icnt < rc->nislands);
GNUNET_assert (hcnt < island->nhosts);
GNUNET_assert (NULL != island->hosts[hcnt]);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27289 - gnunet/src/testbed,
gnunet <=