From 09d4f18010278fb2cb15e57a775c79906be2e04a Mon Sep 17 00:00:00 2001 From: compn Date: Thu, 26 Mar 2009 13:35:12 +0000 Subject: change close to closesocket, unifies close streaming code patch by Francesco Cosoleto , cosoleto gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29066 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/asf_streaming.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c index 3057f06c05..c3e70a4aa2 100644 --- a/stream/asf_streaming.c +++ b/stream/asf_streaming.c @@ -149,7 +149,7 @@ extern int audio_id; extern int video_id; static void close_s(stream_t *stream) { - close(stream->fd); + closesocket(stream->fd); stream->fd=-1; } -- cgit v1.2.3