#include "gnunet_core_service.h"
#include "gnunet_os_lib.h"
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
#define DELAY_FOR_LOGGING GNUNET_NO
static void topology_creation_finished (void *cls,
const char *emsg)
{
+#if VERBOSE
if (emsg == NULL)
GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "All topology connections created successfully!\n");
+#endif
}
static void
#include "gnunet_testing_lib.h"
#include "gnunet_core_service.h"
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
/**
* How long until we fail the whole testcase?
#endif
smallWorldConnections = 0;
small_world_it = (unsigned int)(natLog * percentage);
+ if (small_world_it < 1)
+ small_world_it = 1;
GNUNET_assert(small_world_it > 0 && small_world_it < (unsigned int)-1);
for (i = 0; i < small_world_it; i++)
{