diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-04 15:26:44 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-04 15:26:44 +0000 |
commit | 20c1fd1b01ef0b0b4cc20b63826dfbcedfd3e5cb (patch) | |
tree | 4bcab5c98513c22f06aaad9554fc3257492d7d4d /file.c | |
parent | update NEWS (diff) | |
download | w3m-20c1fd1b01ef0b0b4cc20b63826dfbcedfd3e5cb.tar.gz w3m-20c1fd1b01ef0b0b4cc20b63826dfbcedfd3e5cb.zip |
[w3m-dev 02984] inline image improvements and cleanups
* config.h.dist (HAVE_SYMLINK) added
* config.h.dist (HAVE_LSTAT): added
* configure: symlink() check
* configure: lstat() check
* fm.h (maxLoadImage): added
* form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/
* image.c: include <sys/stat.h>
* image.c (MAX_LOAD_IMAGE): default 8
* image.c (max_load_image): deleted
* image.c (n_load_image): added
* image.c (showImageProgress): added
* image.c (loadImage): check load image count
s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK)
showImageProgress
* local.c: include <sys/stat.h>
s/HAVE_READLINK/HAVE_LSTAT/
* rc.c (CMT_MAX_LOAD_IMAGE): added
* rc.c (max_load_image): added
* doc/README.img: update
[w3m-dev 02986]
* file.c (print_internal_information): Don't print boundaries.
Use henv->f instead of stdout.
From: TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
Diffstat (limited to '')
-rw-r--r-- | file.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.62 2002/02/04 15:18:42 ukai Exp $ */ +/* $Id: file.c,v 1.63 2002/02/04 15:26:44 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -5742,9 +5742,6 @@ print_internal_information(struct html_feed_environ *henv) #endif if (fp->enctype == FORM_ENCTYPE_MULTIPART) Strcat_charp(s, " enctype=multipart/form-data"); - if (fp->boundary) - Strcat_m_charp(s, " boundary=\"", html_quote(fp->boundary), - "\"", NULL); Strcat_charp(s, ">"); pushTextLine(tl, newTextLine(s, 0)); } @@ -5778,7 +5775,7 @@ print_internal_information(struct html_feed_environ *henv) else if (henv->f) { TextLineListItem *p; for (p = tl->first; p; p = p->next) - printf("%s\n", p->ptr->line->ptr); + fprintf(henv->f, "%s\n", p->ptr->line->ptr); } } |