diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-27 01:53:25 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-27 01:53:25 +0000 |
commit | 9f9882d01bb197a641ce46e130ca129e617e2777 (patch) | |
tree | 3eb99e25904b5ce9ad8db4278490968112e15c05 /libmpdemux | |
parent | f197efd5c23cca28431a6ca0ecc28ac0b3d3ae7f (diff) | |
download | mpv-9f9882d01bb197a641ce46e130ca129e617e2777.tar.bz2 mpv-9f9882d01bb197a641ce46e130ca129e617e2777.tar.xz |
warning fix == cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3785 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/http.c b/libmpdemux/http.c index 589ae73f2e..4d5dfd8d17 100644 --- a/libmpdemux/http.c +++ b/libmpdemux/http.c @@ -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 |