From 4b36e2fd189d07eaae23d81322e52818f164d4f3 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 20 Feb 2010 19:22:23 +0000 Subject: 10l, fix a close() that should be a closesocket() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30669 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/network.c b/stream/network.c index 38de105961..d85da87f17 100644 --- a/stream/network.c +++ b/stream/network.c @@ -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; -- cgit v1.2.3