1
0
Fork 0
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:
Steffen Vogel 2019-03-26 07:10:37 +01:00
parent 81267f9759
commit 5580f63b8e

View file

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