aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-04-14 03:29:37 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-04-14 03:29:37 +0000
commit6f87e48d6124e161209e03fda7609f1bc774251c (patch)
tree6e462764c7189c50d1ccae80684da8f7c723f13b /file.c
parent[w3m-dev 03873] SSL & compressed stream (diff)
downloadw3m-6f87e48d6124e161209e03fda7609f1bc774251c.tar.gz
w3m-6f87e48d6124e161209e03fda7609f1bc774251c.zip
[w3m-dev 03875] Re: SSL & compressed stream
* file.c (loadGeneralFile): check t_buf != NULL * url.c (openURL): don't initialize URLFile here (init_stream): 0 clear URLFile From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file.c b/file.c
index 287c9b4..7863e0b 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.221 2003/04/13 18:36:51 ukai Exp $ */
+/* $Id: file.c,v 1.222 2003/04/14 03:29:38 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -2043,7 +2043,8 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
t_buf->bufferprop |= BP_FRAME;
}
#ifdef USE_SSL
- t_buf->ssl_certificate = f.ssl_certificate;
+ if (t_buf)
+ 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);