Mercurial > mplayer.hg
comparison libmpdemux/http.c @ 3785:44c74b600573
10l...
author | arpi |
---|---|
date | Thu, 27 Dec 2001 02:02:03 +0000 |
parents | 8b7722329a27 |
children | c9f861653fe2 |
comparison
equal
deleted
inserted
replaced
3784:8b7722329a27 | 3785:44c74b600573 |
---|---|
70 http_is_header_entire( HTTP_header_t *http_hdr ) { | 70 http_is_header_entire( HTTP_header_t *http_hdr ) { |
71 if( http_hdr==NULL ) return -1; | 71 if( http_hdr==NULL ) return -1; |
72 | 72 |
73 if( strstr(http_hdr->buffer, "\r\n\r\n")==NULL && | 73 if( strstr(http_hdr->buffer, "\r\n\r\n")==NULL && |
74 strstr(http_hdr->buffer, "\n\n")==NULL ) return 0; | 74 strstr(http_hdr->buffer, "\n\n")==NULL ) return 0; |
75 } | |
76 return 1; | 75 return 1; |
77 } | 76 } |
78 | 77 |
79 int | 78 int |
80 http_response_parse( HTTP_header_t *http_hdr ) { | 79 http_response_parse( HTTP_header_t *http_hdr ) { |