[Mplayer-cvslog] CVS: main/libmpdemux http.c,1.7,1.8

Arpi of Ize arpi at mplayer.dev.hu
Thu Dec 27 02:53:28 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv15833

Modified Files:
	http.c 
Log Message:
warning fix == cleanup

Index: http.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/http.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- http.c	16 Dec 2001 07:40:52 -0000	1.7
+++ http.c	27 Dec 2001 01:53:25 -0000	1.8
@@ -70,10 +70,10 @@
 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




More information about the MPlayer-cvslog mailing list