changeset 30627:8ae498c98fec

10l, fix a close() that should be a closesocket()
author reimar
date Sat, 20 Feb 2010 19:22:23 +0000
parents 27b133678bbd
children 5fd3ea86cf0d
files stream/network.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/network.c	Sat Feb 20 18:53:07 2010 +0000
+++ b/stream/network.c	Sat Feb 20 19:22:23 2010 +0000
@@ -382,7 +382,7 @@
 			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;