diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-08 16:01:37 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-08 16:01:37 +0000 |
commit | 25999cbbc8c0d9d2803105dcc42199bd8a10b57d (patch) | |
tree | 1bccdba7917f0f1ed585458907bfdcbb69f0aa85 /rc.c | |
parent | [w3m-dev 03858] configure cleanup (diff) | |
download | w3m-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |