mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
rtp: improve return code style
This commit is contained in:
parent
81267f9759
commit
5580f63b8e
1 changed files with 4 additions and 1 deletions
|
@ -464,8 +464,11 @@ int rtp_stop(struct node *n)
|
|||
return ret;
|
||||
}
|
||||
|
||||
return io_destroy(&r->io);
|
||||
ret = io_destroy(&r->io);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void stop_handler(int sig, siginfo_t *si, void *ctx)
|
||||
|
|
Loading…
Add table
Reference in a new issue