mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
warning fix == cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3785 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f197efd5c2
commit
9f9882d01b
@ -70,10 +70,10 @@ int
|
||||
http_is_header_entire( HTTP_header_t *http_hdr ) {
|
||||
if( http_hdr==NULL ) return -1;
|
||||
|
||||
if( strstr(http_hdr->buffer, "\r\n\r\n")==NULL ) {
|
||||
if( strstr(http_hdr->buffer, "\n\n")==NULL ) return 0;
|
||||
if( strstr(http_hdr->buffer, "\r\n\r\n")==NULL &&
|
||||
strstr(http_hdr->buffer, "\n\n")==NULL ) return 0;
|
||||
}
|
||||
else return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user