From d9a666bfbf17d33bad8c3f11c68cbd097e81f04c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 4 Sep 2014 13:30:38 +0000 Subject: [PATCH] fixed stats git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@204 8ec27952-4edc-4aab-86aa-e87bb2611832 --- server/src/path.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/src/path.c b/server/src/path.c index dc1c2aa68..ee55adae2 100644 --- a/server/src/path.c +++ b/server/src/path.c @@ -80,8 +80,7 @@ static void * path_run(void *arg) p->invalid++; continue; } - - if (m->type != MSG_TYPE_DATA) { + else if (m->type != MSG_TYPE_DATA) { p->invalid++; continue; } @@ -114,13 +113,14 @@ static void * path_run(void *arg) } /* At fixed rate mode, messages are send by another thread */ - if (p->rate) - p->last = m; - else +// if (p->rate) +// p->last = m; +// else { msg_send(m, p->out); + p->sent++; +// } p->sequence = m->sequence; - p->sent++; } free(m);