aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-04-08 16:01:37 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-04-08 16:01:37 +0000
commit25999cbbc8c0d9d2803105dcc42199bd8a10b57d (patch)
tree1bccdba7917f0f1ed585458907bfdcbb69f0aa85 /rc.c
parent[w3m-dev 03858] configure cleanup (diff)
downloadw3m-25999cbbc8c0d9d2803105dcc42199bd8a10b57d.tar.gz
w3m-25999cbbc8c0d9d2803105dcc42199bd8a10b57d.zip
[w3m] local cookie string is too easy to guess.
* fm.h (Local_cookie): deleted * local.c (Local_cookie): static (writeLocalCookie): localCookie() (setLocalCookie): deleted (localCookie): added * main.c (main): delete srand48(), setLocalCookie() (adBmark): s/Local_cookie/localCookie()/ * proto.h (setLocalCookie): deleted (localCookie): added * rc.c (load_option_panel): s/Local_cookie/localCookie()/ From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.c b/rc.c
index 537331b..d9eed46 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.83 2003/04/06 16:27:54 ukai Exp $ */
+/* $Id: rc.c,v 1.84 2003/04/08 16:01:40 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -1458,7 +1458,7 @@ Buffer *
load_option_panel(void)
{
Str src = Sprintf(optionpanel_src1, html_quote(w3m_version),
- html_quote(Local_cookie->ptr), CMT_HELPER);
+ html_quote(localCookie()->ptr), CMT_HELPER);
struct param_ptr *p;
struct sel_c *s;
int x, i;