diff stream/asf_streaming.c @ 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 c9db53414b53
children 0f1b5b68af32
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;
 }