mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
pipe: fix refactoring mistake
This commit is contained in:
parent
8df45ab5fb
commit
c7f738b413
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ static void * send_loop(void *ctx)
|
|||
|
||||
while (!io_eof(dirs->send.io)) {
|
||||
allocated = sample_alloc_many(&dirs->send.pool, smps, dirs->send.node->out.vectorize);
|
||||
if (ret < 0)
|
||||
if (allocated < 0)
|
||||
throw RuntimeError("Failed to get {} samples out of send pool ({}).", dirs->send.node->out.vectorize, ret);
|
||||
else if (allocated < dirs->send.node->out.vectorize)
|
||||
logger->warn("Send pool underrun");
|
||||
|
|
Loading…
Add table
Reference in a new issue