diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-20 19:22:23 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-20 19:22:23 +0000 |
commit | 4b36e2fd189d07eaae23d81322e52818f164d4f3 (patch) | |
tree | ccd08e5f8e64efb3f805d19ce0c3fc162de67687 | |
parent | 9554a844e9daef9a702004957f0d74aabacd8403 (diff) | |
download | mpv-4b36e2fd189d07eaae23d81322e52818f164d4f3.tar.bz2 mpv-4b36e2fd189d07eaae23d81322e52818f164d4f3.tar.xz |
10l, fix a close() that should be a closesocket()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30669 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | stream/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |