aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:16:18 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:16:18 +0000
commit3f25d8f04868a17875fecef8d918cda4f9c3fbbe (patch)
tree21a352480fd81597d828fca9b0d94567059ce0b0 /file.c
parentfix indent (diff)
downloadw3m-3f25d8f04868a17875fecef8d918cda4f9c3fbbe.tar.gz
w3m-3f25d8f04868a17875fecef8d918cda4f9c3fbbe.zip
[w3m-dev 03677] view source, edit source
* buffer.c (discardBuffer): unlink header source * file.c (loadFile): delete skip header * fm.h (BP_SOURCE): deleted (SkipHeader): deleted * main (editBf): cleanup (vmSrc): cleanup From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/file.c b/file.c
index 99fb8ed..67df9fd 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.199 2003/01/22 16:11:03 ukai Exp $ */
+/* $Id: file.c,v 1.200 2003/01/22 16:16:20 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -497,8 +497,6 @@ loadFile(char *path)
if (uf.stream == NULL)
return NULL;
buf = newBuffer(INIT_BUFFER_WIDTH);
- if (SkipHeader)
- readHeader(&uf, buf, TRUE, NULL);
current_content_length = 0;
#ifdef JP_CHARSET
content_charset = '\0';
@@ -1955,11 +1953,6 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
if (real_type == NULL)
real_type = t;
- if (SkipHeader) {
- if (t_buf == NULL)
- t_buf = newBuffer(INIT_BUFFER_WIDTH);
- readHeader(&f, t_buf, TRUE, NULL);
- }
proc = loadBuffer;
#ifdef USE_IMAGE
cur_baseURL = New(ParsedURL);