[project @ 2004-04-01 18:29:42 by bursa]

Fix bug with submission of forms with no successful controls.

svn path=/import/netsurf/; revision=696
This commit is contained in:
James Bursa 2004-04-01 18:29:42 +00:00
parent 63aa08c54e
commit e4269c8903
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ struct form_successful_control *form_successful_controls(struct form *form,
struct form_option *option;
struct form_successful_control sentinel, *last_success;
last_success = &sentinel;
sentinel.next = 0;
for (control = form->controls; control; control = control->next) {
struct form_successful_control *success_new;