changeset 29031:1706acdd3705

change close to closesocket, unifies close streaming code patch by Francesco Cosoleto , cosoleto gmail com
author compn
date Thu, 26 Mar 2009 13:35:12 +0000
parents e707a0bb19ec
children 15e1d6124a6b
files stream/asf_streaming.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/asf_streaming.c	Thu Mar 26 12:41:43 2009 +0000
+++ b/stream/asf_streaming.c	Thu Mar 26 13:35:12 2009 +0000
@@ -149,7 +149,7 @@
 extern int video_id;
 
 static void close_s(stream_t *stream) {
-	close(stream->fd);
+	closesocket(stream->fd);
 	stream->fd=-1;
 }