1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

One missing sparse warning fix

This commit is contained in:
Jonas Fonseca 2005-11-24 21:57:35 +01:00 committed by Jonas Fonseca
parent fa2802385f
commit 60269a7466

View File

@ -78,7 +78,7 @@ html_form(struct html_context *html_context, unsigned char *a)
* Mozilla handles action="" as action="<current-URI>" which seems
* reasonable. (bug 615) */
if (al && *al) {
form->action = join_urls(html_context->base_href, trim_chars(al, ' ', 0));
form->action = join_urls(html_context->base_href, trim_chars(al, ' ', NULL));
mem_free(al);
} else {