aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-06-10 10:01:18 +0000
committerDai Sato <satodai@w3m.jp>2006-06-10 10:01:18 +0000
commitb91f1169769b5668b42ea50a095731d6e34db171 (patch)
tree2a71d8e326e58634d377be56fe72644f4f9b90de /file.c
parentdon't delete newlines in hidden values. [w3m-dev 04129] (diff)
downloadw3m-b91f1169769b5668b42ea50a095731d6e34db171.tar.gz
w3m-b91f1169769b5668b42ea50a095731d6e34db171.zip
Show progress status when dump_extra option is specified. [w3m-dev 03992]
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.c b/file.c
index a7e88ad..1433ad3 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.243 2006/05/29 12:54:26 inu Exp $ */
+/* $Id: file.c,v 1.244 2006/06/10 10:01:18 inu Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -6761,6 +6761,8 @@ loadHTMLstream(URLFile *f, Buffer *newBuf, FILE * src, int internal)
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);