diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 18:01:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 18:01:52 +0000 |
commit | 0fb25226f1c253e6dd1680f598c6b8c6a5306ec4 (patch) | |
tree | 1fbe2e593bbddffe501c7fab79e01b93af43aed6 /form.c | |
parent | [w3m-dev 02769] <form>..</form> as block element (diff) | |
download | w3m-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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; } } |