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:
parent
2c1e3f4052
commit
d9a666bfbf
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue