aboutsummaryrefslogtreecommitdiffstats
path: root/form.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 18:01:52 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 18:01:52 +0000
commit0fb25226f1c253e6dd1680f598c6b8c6a5306ec4 (patch)
tree1fbe2e593bbddffe501c7fab79e01b93af43aed6 /form.c
parent[w3m-dev 02769] <form>..</form> as block element (diff)
downloadw3m-0fb25226f1c253e6dd1680f598c6b8c6a5306ec4.tar.gz
w3m-0fb25226f1c253e6dd1680f598c6b8c6a5306ec4.zip
[w3m-dev 02770] form element outside <form>..</form>
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--form.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/form.c b/form.c
index 825189d..2fa0de2 100644
--- a/form.c
+++ b/form.c
@@ -1,4 +1,4 @@
-/* $Id: form.c,v 1.9 2001/12/27 17:37:49 ukai Exp $ */
+/* $Id: form.c,v 1.10 2001/12/27 18:01:52 ukai Exp $ */
/*
* HTML forms
*/
@@ -31,6 +31,7 @@ struct {
#ifdef USE_COOKIE
{"cookie", set_cookie_flag},
#endif /* USE_COOKIE */
+ {"none", NULL},
{NULL, NULL},
};
/* *INDENT-ON* */
@@ -510,7 +511,8 @@ do_internal(char *action, char *data)
for (i = 0; internal_action[i].action; i++) {
if (strcasecmp(internal_action[i].action, action) == 0) {
- internal_action[i].rout(cgistr2tagarg(data));
+ if (internal_action[i].rout)
+ internal_action[i].rout(cgistr2tagarg(data));
return;
}
}