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