diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 16:29:37 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 16:29:37 +0000 |
commit | 0b03496f19efa937b49eb496ebb2abb3dcd68365 (patch) | |
tree | 0a18e50b68264f09093f8e9bf524096507dd4770 /file.c | |
parent | [w3m-dev 02647] (diff) | |
download | w3m-0b03496f19efa937b49eb496ebb2abb3dcd68365.tar.gz w3m-0b03496f19efa937b49eb496ebb2abb3dcd68365.zip |
[w3m-dev 02650]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.30 2001/12/09 13:59:04 ukai Exp $ */ +/* $Id: file.c,v 1.31 2001/12/10 16:29:37 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -560,7 +560,7 @@ readHeader(URLFile *uf, Buffer *newBuf, int thru, ParsedURL *pu) tmp = Strnew_size(lineBuf2->length); for (p = lineBuf2->ptr; *p; p = q) { for (q = p; *q && *q != '\r' && *q != '\n'; q++) ; - lineBuf2 = checkType(Strnew_charp(p), propBuffer, + lineBuf2 = checkType(Strnew_charp_n(p, q - p), propBuffer, #ifdef USE_ANSI_COLOR NULL, NULL, #endif |