[w3m-dev 03957] Location: from local-CGI

Hironori SAKAMOTO <[email protected]>
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>

local-CGI  Location: local 

----------------------------------- 
  <[email protected]> 
 http://www2u.biglobe.ne.jp/~hsaka/

diff -u file.c.orig file.c
--- file.c.orig	Fri Jul 25 10:17:56 2003
+++ file.c	Fri Aug 29 19:46:04 2003
@@ -1848,6 +1848,7 @@
 	t = f.guess_type;
     }
     else if (searchHeader) {
+	searchHeader = SearchHeader = FALSE;
 	if (t_buf == NULL)
 	    t_buf = newBuffer(INIT_BUFFER_WIDTH);
 	readHeader(&f, t_buf, searchHeader_through, &pu);
@@ -1868,7 +1869,6 @@
 	t = checkContentType(t_buf);
 	if (t == NULL)
 	    t = "text/plain";
-	searchHeader = SearchHeader = FALSE;
     }
     else if (DefaultType) {
 	t = DefaultType;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.