projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[oweals/gnunet.git]
/
src
/
testing
/
testing_group.c
diff --git
a/src/testing/testing_group.c
b/src/testing/testing_group.c
index 0595294a2df0e87fd672891e2e21018d480ff205..a09460844476a3a4402250982459b6fdd1a2a5b6 100644
(file)
--- a/
src/testing/testing_group.c
+++ b/
src/testing/testing_group.c
@@
-842,10
+842,11
@@
update_config (void *cls,
"/tmp/test-service-%s-%u", section, ctx->upnum++);
value = uval;
}
"/tmp/test-service-%s-%u", section, ctx->upnum++);
value = uval;
}
- else if (GNUNET_YES ==
+ else if (
(
GNUNET_YES ==
GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing",
per_host_variable,
GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing",
per_host_variable,
- &num_per_host))
+ &num_per_host)) && (num_per_host > 0))
+
{
GNUNET_snprintf (uval,
sizeof (uval),
{
GNUNET_snprintf (uval,
sizeof (uval),
@@
-2504,6
+2505,9
@@
copy_allowed_topology (struct GNUNET_TESTING_PeerGroup *pg)
* of each peer in the peer group
*
* @param pg the peer group we are dealing with
* of each peer in the peer group
*
* @param pg the peer group we are dealing with
+ * @param notify_callback callback to notify when finished
+ * @param notify_cls closure for notify callback
+ *
* @return the number of connections that will be attempted
*/
static int
* @return the number of connections that will be attempted
*/
static int
@@
-3908,6
+3912,7
@@
internal_hostkey_callback (void *cls,
*
* @param cls closure
* @param id identifier for the daemon, NULL on error
*
* @param cls closure
* @param id identifier for the daemon, NULL on error
+ * @param cfg config
* @param d handle for the daemon
* @param emsg error message (NULL on success)
*/
* @param d handle for the daemon
* @param emsg error message (NULL on success)
*/