diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-13 18:36:50 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-13 18:36:50 +0000 |
commit | 12723d3c6b95e45e11744e003a01d7c7a2553afb (patch) | |
tree | c51234fcfec3ba13eb6eadb944ab64e6ef8327b4 /file.c | |
parent | [w3m-dev 03872] goodict.cgi (diff) | |
download | w3m-12723d3c6b95e45e11744e003a01d7c7a2553afb.tar.gz w3m-12723d3c6b95e45e11744e003a01d7c7a2553afb.zip |
[w3m-dev 03873] SSL & compressed stream
* file.c (loadGeneralFile): always update ssl_certificate
* url.c (openURL): initialize URLFile
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.220 2003/04/06 16:27:54 ukai Exp $ */ +/* $Id: file.c,v 1.221 2003/04/13 18:36:51 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -2043,8 +2043,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, t_buf->bufferprop |= BP_FRAME; } #ifdef USE_SSL - if (IStype(f.stream) == IST_SSL) - t_buf->ssl_certificate = f.ssl_certificate; + t_buf->ssl_certificate = f.ssl_certificate; #endif frame_source = flag & RG_FRAME_SRC; b = loadSomething(&f, pu.real_file ? pu.real_file : pu.file, proc, t_buf); |