diff libvo/vo_bl.c @ 10206:35e306346e59

Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de>
author alex
date Thu, 29 May 2003 19:36:58 +0000
parents 2b1db607a09c
children 54bcbf28698a
line wrap: on
line diff
--- a/libvo/vo_bl.c	Thu May 29 17:22:13 2003 +0000
+++ b/libvo/vo_bl.c	Thu May 29 19:36:58 2003 +0000
@@ -175,7 +175,7 @@
 }
 
 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);
 }