1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 14:56:55 +00:00

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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30669 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-02-20 19:22:23 +00:00
parent 9554a844e9
commit 4b36e2fd18

View File

@ -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;