Mercurial > mplayer.hg
comparison stream/network.c @ 30627:8ae498c98fec
10l, fix a close() that should be a closesocket()
author | reimar |
---|---|
date | Sat, 20 Feb 2010 19:22:23 +0000 |
parents | 300fd6ee0f8b |
children | 5fd3ea86cf0d |
comparison
equal
deleted
inserted
replaced
30626:27b133678bbd | 30627:8ae498c98fec |
---|---|
380 } | 380 } |
381 } | 381 } |
382 break; | 382 break; |
383 default: | 383 default: |
384 mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_ErrServerReturned, http_hdr->status_code, http_hdr->reason_phrase ); | 384 mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_ErrServerReturned, http_hdr->status_code, http_hdr->reason_phrase ); |
385 close( fd ); | 385 closesocket( fd ); |
386 fd = -1; | 386 fd = -1; |
387 } | 387 } |
388 stream->fd = fd; | 388 stream->fd = fd; |
389 | 389 |
390 if( http_hdr ) { | 390 if( http_hdr ) { |