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 | |
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>
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | file.c | 5 | ||||
-rw-r--r-- | url.c | 3 |
3 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2003-04-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03873] SSL & compressed stream + * file.c (loadGeneralFile): always update ssl_certificate + * url.c (openURL): initialize URLFile + 2003-04-12 NAKAJIMA Mikio <minakaji@osaka.email.ne.jp> * [w3m-dev 03872] goodict.cgi @@ -7732,4 +7738,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.822 2003/04/12 14:28:55 ukai Exp $ +$Id: ChangeLog,v 1.823 2003/04/13 18:36:50 ukai Exp $ @@ -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); @@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.76 2003/03/14 02:07:57 ukai Exp $ */ +/* $Id: url.c,v 1.77 2003/04/13 18:36:51 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include <sys/socket.h> @@ -1497,6 +1497,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current, } } + memset(&uf, 0, sizeof uf); uf.scheme = pu->scheme; uf.url = parsedURL2Str(pu)->ptr; pu->is_nocache = (option->flag & RG_NOCACHE); |