From 991c10a24a9f3325ed1e6dfabf1e3df21cd5840c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 29 Apr 2014 14:14:30 +0000 Subject: [PATCH] fix output format --- src/ats/gnunet-ats-solver-eval.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/ats/gnunet-ats-solver-eval.c b/src/ats/gnunet-ats-solver-eval.c index 87b9110c7..06c4d3464 100644 --- a/src/ats/gnunet-ats-solver-eval.c +++ b/src/ats/gnunet-ats-solver-eval.c @@ -344,17 +344,22 @@ GNUNET_ATS_solver_logging_write_to_disk (struct LoggingHandle *l, int add_time_s cur->pid = log_p->id; if (GNUNET_YES == add_time_stamp) - GNUNET_asprintf (&filename, "%s%s_%s_%u_%u_%llu.log", + GNUNET_asprintf (&filename, "%s%s%s_%s_%u_%u_%llu.log", (GNUNET_YES == use_dir) ? output_dir : "", (GNUNET_YES == use_dir) ? DIR_SEPARATOR_STR : "", - e->log_prefix, opt_solver, - cur->aid, cur->pid, l->head->timestamp.abs_value_us); + e->log_prefix, + opt_solver, + cur->aid, + cur->pid, + l->head->timestamp.abs_value_us); else GNUNET_asprintf (&filename, "%s%s%s_%s_%u_%u.log", (GNUNET_YES == use_dir) ? output_dir : "", (GNUNET_YES == use_dir) ? DIR_SEPARATOR_STR : "", - e->log_prefix, opt_solver, - cur->aid, cur->pid); + e->log_prefix, + opt_solver, + cur->aid, + cur->pid); fprintf (stderr, "Add writing log data for %i %i to file `%s'\n", cur->pid, cur->aid, filename); -- 2.25.1