1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Use error() to display error messages.

This commit is contained in:
Alexander Pipelka 2017-09-25 20:48:20 +02:00 committed by Rolf Ahrenberg
parent 2355dad37b
commit 3713d1a1fa

View File

@ -223,8 +223,8 @@ void cSatipSectionFilter::Send(void)
// Update statistics
AddSectionStatistic(count, 1);
}
else
esyslog("failed to send section data (%i bytes) to fd: %i (errno: %i)", count, socketM[1], errno);
else if (errno != EAGAIN)
error("failed to send section data (%i bytes) [device=%d]", count, deviceIndexM);
}
ringBufferM->Drop(section);
}