summaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing-experiment.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-06 15:58:41 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-06 15:58:41 +0000
commit4f80d8c5beb2c2106ce1b0686e9f29449d744832 (patch)
tree7ac921a889e7525b439f130374d60a47cf854ac3 /src/ats-tests/ats-testing-experiment.c
parent3d7bae58c4b9b128e6000a2fe1fe65595235bb14 (diff)
misc minor fixes
Diffstat (limited to 'src/ats-tests/ats-testing-experiment.c')
-rw-r--r--src/ats-tests/ats-testing-experiment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ats-tests/ats-testing-experiment.c b/src/ats-tests/ats-testing-experiment.c
index 110a48043..9b11caec3 100644
--- a/src/ats-tests/ats-testing-experiment.c
+++ b/src/ats-tests/ats-testing-experiment.c
@@ -196,7 +196,8 @@ load_episode (struct Experiment *e,
GNUNET_asprintf(&op_name, "op-%u-type", op_counter);
if ( (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_string(cfg,
sec_name, op_name, &type)) &&
- ((STOP_SEND != o->type) || (STOP_PREFERENCE != o->type)))
+ (STOP_SEND != o->type) &&
+ (STOP_PREFERENCE != o->type) )
{
/* Load arguments for set_rate, start_send, set_preference */
if (0 == strcmp (type, "constant"))