1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[form] const value in init_submitted_value

This commit is contained in:
Witold Filipczyk 2022-02-18 14:27:01 +01:00
parent 7fc4be7689
commit ac485a429d
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ struct files_offset {
/** @relates submitted_value */
struct submitted_value *
init_submitted_value(const char *name, char *value, enum form_type type,
init_submitted_value(const char *name, const char *value, enum form_type type,
struct el_form_control *fc, int position)
{
struct submitted_value *sv;

View File

@ -112,7 +112,7 @@ struct submitted_value {
int position;
};
struct submitted_value *init_submitted_value(const char *name, char *value, enum form_type type, struct el_form_control *fc, int position);
struct submitted_value *init_submitted_value(const char *name, const char *value, enum form_type type, struct el_form_control *fc, int position);
void done_submitted_value(struct submitted_value *sv);
void done_submitted_value_list(LIST_OF(struct submitted_value) *list);
char *encode_crlf(struct submitted_value *sv);