aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-06-12 11:51:59 +0000
committerDai Sato <satodai@w3m.jp>2006-06-12 11:51:59 +0000
commit755718c88339a49a6b0721bf4908781b76369ca1 (patch)
tree87cdfd459ed107eb313c20fab49917cea2e410f8 /file.c
parentavoid decoding when dump_extra option is specified. (diff)
downloadw3m-755718c88339a49a6b0721bf4908781b76369ca1.tar.gz
w3m-755718c88339a49a6b0721bf4908781b76369ca1.zip
avoid decoding when dump_extra option is specified.
Diffstat (limited to '')
-rw-r--r--file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.c b/file.c
index b3552dc..d6d415d 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.245 2006/06/10 11:09:06 inu Exp $ */
+/* $Id: file.c,v 1.246 2006/06/12 11:51:59 inu Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7015,6 +7015,8 @@ loadBuffer(URLFile *uf, Buffer *volatile newBuf)
if (src)
Strfputs(lineBuf2, src);
linelen += lineBuf2->length;
+ if (w3m_dump & DUMP_EXTRA)
+ printf("W3m-in-progress: %s\n", convert_size2(linelen, current_content_length, TRUE));
if (w3m_dump & DUMP_SOURCE)
continue;
showProgress(&linelen, &trbyte);