From 9f9882d01bb197a641ce46e130ca129e617e2777 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 27 Dec 2001 01:53:25 +0000 Subject: [PATCH] warning fix == cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3785 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/http.c | 6 +++--- 1 file 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