From 1fd2a774164344e481298d4446d1fd326ec30022 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sun, 12 Aug 2007 11:23:49 +0000 Subject: [PATCH] Update comment: html_form_control -> html_special_form_control Update a comment in encode_multipart, which refers to html_form_control, which has since been renamed to html_special_form_control. The comment was added with this commit: commit b4dee890a61a6c8a27a8e4cd1dc3b3b93f1cdb08 Author: Petr Baudis Date: Fri May 10 13:26:55 2002 +0000 Don't decode and back encode hidden form items (by mikulas, from 0.97). The function was renamed with this commit: commit c9d72739c715b3b0c7c6fec582780c1e8f444fc4 Author: Petr Baudis Date: Sat Dec 18 02:22:28 2004 +0000 html_(tag|form*) -> html_special_\1, to naming prevent conflicts with HTML element handlers. As suggested by Jonas. --- src/viewer/text/form.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/viewer/text/form.c b/src/viewer/text/form.c index bc8ef2127..642c9b771 100644 --- a/src/viewer/text/form.c +++ b/src/viewer/text/form.c @@ -1007,7 +1007,8 @@ encode_multipart(struct session *ses, LIST_OF(struct submitted_value) *l, add_crlf_to_string(data); /* Convert back to original encoding (see - * html_form_control() for the original recoding). */ + * html_special_form_control() for the original + * recoding). */ if (sv->type == FC_TEXT || sv->type == FC_PASSWORD || sv->type == FC_TEXTAREA) { unsigned char *p;