mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
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 <pasky@ucw.cz> 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 <pasky@ucw.cz> 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.
This commit is contained in:
parent
2437d35904
commit
1fd2a77416
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user