summaryrefslogtreecommitdiffstats
path: root/libvo/vo_bl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_bl.c')
-rw-r--r--libvo/vo_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_bl.c b/libvo/vo_bl.c
index 6d1d56b9fa..13102f2d44 100644
--- a/libvo/vo_bl.c
+++ b/libvo/vo_bl.c
@@ -175,7 +175,7 @@ static int udp_init(bl_host_t *h) {
}
static void udp_send(bl_host_t *h) {
- if (write(h->fd, bl_packet, bl_size) != bl_size)
+ if (send(h->fd, bl_packet, bl_size, 0) != bl_size)
mp_msg(MSGT_VO, MSGL_ERR, "unable to send to %s\n", h->name);
}