# HG changeset patch # User reimar # Date 1266693743 0 # Node ID 8ae498c98fecdca171f448e0d5d89d54724f1005 # Parent 27b133678bbd70c5fcd99dfaf06fe2b6932ad322 10l, fix a close() that should be a closesocket() diff -r 27b133678bbd -r 8ae498c98fec stream/network.c --- 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;