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);