1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fixed stats

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@204 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
Steffen Vogel 2014-09-04 13:30:38 +00:00
parent 2c1e3f4052
commit d9a666bfbf

View file

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