aboutsummaryrefslogtreecommitdiffstats
path: root/url.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 /url.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 '')
-rw-r--r--url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/url.c b/url.c
index 29d3d0a..8e8befe 100644
--- a/url.c
+++ b/url.c
@@ -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);