[MPlayer-cvslog] CVS: main/libmpdemux network.c,1.125,1.126

Richard Felker CVS syncmail at mplayerhq.hu
Sat May 13 07:50:10 CEST 2006


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv777/libmpdemux

Modified Files:
	network.c 
Log Message:
posix compliance, dont use ancient legacy name

Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- network.c	27 Mar 2006 07:31:08 -0000	1.125
+++ network.c	13 May 2006 05:50:07 -0000	1.126
@@ -199,7 +199,7 @@
 			return -2;
 		}
 		
-		memcpy( our_s_addr, (void*)hp->h_addr, hp->h_length );
+		memcpy( our_s_addr, (void*)hp->h_addr_list[0], hp->h_length );
 	}
 #ifdef HAVE_WINSOCK2
 	else {




More information about the MPlayer-cvslog mailing list