summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/network.c2
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;