From f3ac1b565eb83b8e4737c8e7dc4453ecc0af951f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 8 Sep 2014 14:45:46 +0000 Subject: [PATCH] fixed smaller bugs git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@218 8ec27952-4edc-4aab-86aa-e87bb2611832 --- server/src/cfg.c | 2 +- server/src/path.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/cfg.c b/server/src/cfg.c index 10b653a1a..d082060c2 100644 --- a/server/src/cfg.c +++ b/server/src/cfg.c @@ -99,7 +99,7 @@ int config_parse_path(config_setting_t *cfg, path->in = node_lookup_name(in, *nodes); if (!path->in) - cerror(cfg, "Invalid input node '%s'"); + cerror(cfg, "Invalid input node '%s'", in); path->out = node_lookup_name(out, *nodes); if (!path->out) diff --git a/server/src/path.c b/server/src/path.c index ee55adae2..51e006268 100644 --- a/server/src/path.c +++ b/server/src/path.c @@ -112,6 +112,8 @@ static void * path_run(void *arg) continue; } + p->sequence = m->sequence; + /* At fixed rate mode, messages are send by another thread */ // if (p->rate) // p->last = m; @@ -119,8 +121,6 @@ static void * path_run(void *arg) msg_send(m, p->out); p->sent++; // } - - p->sequence = m->sequence; } free(m);