projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbef81a
)
klocwork fix
author
Nathan S. Evans
<evans@in.tum.de>
Tue, 21 Dec 2010 14:21:16 +0000
(14:21 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Tue, 21 Dec 2010 14:21:16 +0000
(14:21 +0000)
src/testing/testing_group.c
patch
|
blob
|
history
diff --git
a/src/testing/testing_group.c
b/src/testing/testing_group.c
index 0595294a2df0e87fd672891e2e21018d480ff205..4163c3d2eabdb8e8bd414dddde78fc3dff91c50e 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;
}
- else if (GNUNET_YES ==
+ else if (
(
GNUNET_YES ==
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),