GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
/**
* How long until we give up on transmitting the message?
*/
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 300)
#define NUM_DAEMONS 2
do_download (void *cls,
const struct GNUNET_FS_Uri *uri)
{
- if ((NULL == uri)
+ if (NULL == uri)
{
GNUNET_break (0);
GNUNET_SCHEDULER_add_now (sched,
GNUNET_SCHEDULER_add_now (sched,
&do_stop,
NULL);
+ return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Publishing %llu bytes\n",
{
sched = s;
GNUNET_FS_TEST_daemons_start (sched,
+ "fs_test_lib_data.conf",
TIMEOUT,
NUM_DAEMONS,
daemons,