mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-31 17:43:22 -05:00
[main] Coverity fixups
This commit is contained in:
parent
933affaa7e
commit
ad4c7fd74c
@ -364,7 +364,7 @@ signal_signalfd_cb(int fd, short event, void *arg)
|
|||||||
struct signalfd_siginfo info;
|
struct signalfd_siginfo info;
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
while (read(fd, &info, sizeof(struct signalfd_siginfo)) > 0)
|
while (read(fd, &info, sizeof(struct signalfd_siginfo)) == sizeof(struct signalfd_siginfo))
|
||||||
{
|
{
|
||||||
switch (info.ssi_signo)
|
switch (info.ssi_signo)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user