summaryrefslogtreecommitdiffstats
path: root/stream/asf_streaming.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/asf_streaming.c')
-rw-r--r--stream/asf_streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index 3057f06c05..c3e70a4aa2 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -149,7 +149,7 @@ extern int audio_id;
extern int video_id;
static void close_s(stream_t *stream) {
- close(stream->fd);
+ closesocket(stream->fd);
stream->fd=-1;
}