warning fix == cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3785 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
f197efd5c2
commit
9f9882d01b
1 file changed
+3
-3
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user