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:
parent
9554a844e9
commit
4b36e2fd18
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user