aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-06 03:26:56 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-06 03:26:56 +0000
commit91b3b8a09bd4d5727e8825675411e2ab2793cb9b (patch)
tree616db0e79423535547231bd143d80c41ad4528b1 /etc.c
parent[w3m-dev 03375] NULL check of CurrentTab (diff)
downloadw3m-91b3b8a09bd4d5727e8825675411e2ab2793cb9b.tar.gz
w3m-91b3b8a09bd4d5727e8825675411e2ab2793cb9b.zip
[w3m-dev 03377] sync_with_option
* etc.c (loadPassword): reset passwords * form.c (loadPreForm): reset PreForm * main.c (option_assigned): deleted (parse_proxy): deleted (MAIN): move initCookie(), setLocalCookie() after sync_with_option() delete parseURL for *_proxy s/WrapSearch/WrapDefault/ move initKeymap(), initMenu() after setupscreen() sync_with_option() after init_rc() * rc.c (pre_form_file): move in params9 (network settting) (sync_with_option): initKeymap(), initMenu() is done if fmInitialized (init_rc): delete sync_with_option() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'etc.c')
-rw-r--r--etc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc.c b/etc.c
index 74c9def..6dba9d1 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.33 2002/11/05 17:54:39 ukai Exp $ */
+/* $Id: etc.c,v 1.34 2002/11/06 03:27:04 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -1076,6 +1076,8 @@ void
loadPasswd(void)
{
FILE *fp;
+
+ passwords = NULL;
fp = openSecretFile(passwd_file);
if (fp != NULL) {
parsePasswd(fp, 0);