mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
sys/dvb/camswclient.c: Warn on failed write.
Original commit message from CVS: * sys/dvb/camswclient.c: Warn on failed write.
This commit is contained in:
parent
0f6e8ea21f
commit
1571bc2336
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-10-31 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
* sys/dvb/camswclient.c:
|
||||
Warn on failed write.
|
||||
|
||||
2007-10-30 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/equalizer/Makefile.am:
|
||||
|
|
|
@ -135,7 +135,9 @@ send_ca_pmt (CamSwClient * client, GObject * pmt,
|
|||
|
||||
cam_write_length_field (&buffer[3], ca_pmt_size);
|
||||
|
||||
write (client->sock, buffer, buffer_size);
|
||||
if (write (client->sock, buffer, buffer_size) == -1) {
|
||||
GST_WARNING ("write failed when sending pmt with errno: %d", errno);
|
||||
}
|
||||
|
||||
g_free (ca_pmt);
|
||||
g_free (buffer);
|
||||
|
|
Loading…
Reference in a new issue