[MPlayer-cvslog] r30669 - trunk/stream/network.c

reimar subversion at mplayerhq.hu
Sat Feb 20 20:22:23 CET 2010


Author: reimar
Date: Sat Feb 20 20:22:23 2010
New Revision: 30669

Log:
10l, fix a close() that should be a closesocket()

Modified:
   trunk/stream/network.c

Modified: trunk/stream/network.c
==============================================================================
--- trunk/stream/network.c	Sat Feb 20 19:53:07 2010	(r30668)
+++ trunk/stream/network.c	Sat Feb 20 20:22:23 2010	(r30669)
@@ -382,7 +382,7 @@ http_seek( stream_t *stream, off_t pos )
 			break;
 		default:
 			mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_ErrServerReturned, http_hdr->status_code, http_hdr->reason_phrase );
-			close( fd );
+			closesocket( fd );
 			fd = -1;
 	}
 	stream->fd = fd;


More information about the MPlayer-cvslog mailing list