aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-04-13 18:36:50 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-04-13 18:36:50 +0000
commit12723d3c6b95e45e11744e003a01d7c7a2553afb (patch)
treec51234fcfec3ba13eb6eadb944ab64e6ef8327b4 /file.c
parent[w3m-dev 03872] goodict.cgi (diff)
downloadw3m-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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/file.c b/file.c
index 5ac7c83..287c9b4 100644
--- a/file.c
+++ b/file.c
@@ -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);