aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-ats-solver-eval.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-05-06 15:50:20 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-05-06 15:50:20 +0000
commit6e198fdbfa22da72fadcae22b8797af76696b78a (patch)
treec5f5ff123a8670df80a7a286879f7e710aefe843 /src/ats/gnunet-ats-solver-eval.c
parent4e1baae59f18ee5d7cd47afe28ced3daaaa5a5ad (diff)
- refine preference calculcations to reflect all clients
- refining bandwidth distribution in a network - adding a configurable factor to better respect preferences
Diffstat (limited to 'src/ats/gnunet-ats-solver-eval.c')
-rw-r--r--src/ats/gnunet-ats-solver-eval.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.c b/src/ats/gnunet-ats-solver-eval.c
index c1ab829916..9aef4245b9 100644
--- a/src/ats/gnunet-ats-solver-eval.c
+++ b/src/ats/gnunet-ats-solver-eval.c
@@ -2452,7 +2452,7 @@ GNUNET_ATS_solvers_experimentation_load (char *filename)
if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg, "experiment",
"name", &e->name))
{
- fprintf (stderr, "Invalid %s", "name");
+ fprintf (stderr, "Invalid %s \n", "name");
free_experiment (e);
return NULL;
}
@@ -2462,7 +2462,7 @@ GNUNET_ATS_solvers_experimentation_load (char *filename)
if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg, "experiment",
"log_prefix", &e->log_prefix))
{
- fprintf (stderr, "Invalid %s", "name");
+ fprintf (stderr, "Invalid %s \n", "log_prefix");
free_experiment (e);
return NULL;
}
@@ -2490,7 +2490,7 @@ GNUNET_ATS_solvers_experimentation_load (char *filename)
if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_filename (cfg, "experiment",
"cfg_file", &e->cfg_file))
{
- fprintf (stderr, "Invalid %s", "cfg_file");
+ fprintf (stderr, "Invalid %s \n", "cfg_file");
free_experiment (e);
return NULL;
}
@@ -2500,7 +2500,7 @@ GNUNET_ATS_solvers_experimentation_load (char *filename)
e->cfg = GNUNET_CONFIGURATION_create();
if (GNUNET_SYSERR == GNUNET_CONFIGURATION_load (e->cfg, e->cfg_file))
{
- fprintf (stderr, "Invalid configuration %s", "cfg_file");
+ fprintf (stderr, "Invalid configuration %s \n", "cfg_file");
free_experiment (e);
return NULL;
}
@@ -2510,7 +2510,7 @@ GNUNET_ATS_solvers_experimentation_load (char *filename)
if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_time(cfg, "experiment",
"log_freq", &e->log_freq))
{
- fprintf (stderr, "Invalid %s", "log_freq");
+ fprintf (stderr, "Invalid %s \n", "log_freq");
free_experiment (e);
return NULL;
}