diff options
author | Dai Sato <satodai@w3m.jp> | 2006-06-10 10:01:18 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2006-06-10 10:01:18 +0000 |
commit | b91f1169769b5668b42ea50a095731d6e34db171 (patch) | |
tree | 2a71d8e326e58634d377be56fe72644f4f9b90de /file.c | |
parent | don't delete newlines in hidden values. [w3m-dev 04129] (diff) | |
download | w3m-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |