commit f68641d19bb929a62968832f0eb1222e490d5c2c
parent efcd19f917a2a78b368cde4852777d7addcb78c2
Author: inu <inu>
Date: Sat, 10 Jun 2006 10:01:18 +0000
Show progress status when dump_extra option is specified. [w3m-dev 03992]
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,10 @@
2006-06-07 Dai Sato <satodai@w3m.jp>
+ * [w3m-dev 03992] Change to display progress status when dump_extra option is specified
+ * file.c (loadHTMLstream): Show progress status when dump_extra option is specified.
+
+2006-06-07 Dai Sato <satodai@w3m.jp>
+
* [w3m-dev 04129] handling newlines in form values
* parsetagx.c: don't delete newlines in hidden values.
diff --git a/file.c b/file.c
@@ -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);