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
parent c4c2ba8d14
commit 5159508f2d

View File

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