aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-05 16:03:12 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-05 16:03:12 +0000
commitf23dd7b4a3de67ad0e0dbb7361e98f8b143c52c7 (patch)
tree75d0ab8e101f945cabce9944b9c8e4a57a4ebcaa /form.c
parent[w3m-dev 03373] setting form on loading (diff)
downloadw3m-f23dd7b4a3de67ad0e0dbb7361e98f8b143c52c7.tar.gz
w3m-f23dd7b4a3de67ad0e0dbb7361e98f8b143c52c7.zip
* etc.c (PASS_IS_READABLE_MSG): deleted
(FILE_IS_READABLE_MSG): added (openPasswdFile): deleted (openSecretFile): delete error_msg arg (loadPasswd): use openSecretFile() * form.c (next_token): delete unused static decl (FILE_IS_READABLE_MSG): deleted (loadPreForm): no need pass error_msg * proto.h (openSecretFile): delete error_msg arg From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'form.c')
-rw-r--r--form.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/form.c b/form.c
index 46ee0f6..bd0922e 100644
--- a/form.c
+++ b/form.c
@@ -1,4 +1,4 @@
-/* $Id: form.c,v 1.15 2002/11/05 15:56:13 ukai Exp $ */
+/* $Id: form.c,v 1.16 2002/11/05 16:03:14 ukai Exp $ */
/*
* HTML forms
*/
@@ -671,7 +671,6 @@ struct pre_form {
struct pre_form *next;
};
-static Str next_token(Str arg);
static struct pre_form *PreForm = NULL;
static struct pre_form *
@@ -727,8 +726,6 @@ radio <name> <value>
submit [<name>]
*/
-#define FILE_IS_READABLE_MSG "SECURITY NOTE: file %s must not be accessible by others"
-
void
loadPreForm(void)
{
@@ -737,8 +734,7 @@ loadPreForm(void)
struct pre_form *pf = NULL;
struct pre_form_item *pi = NULL;
- fp = openSecretFile(pre_form_file, Sprintf(FILE_IS_READABLE_MSG,
- pre_form_file)->ptr);
+ fp = openSecretFile(pre_form_file);
if (fp == NULL) {
PreForm = NULL;
return;