1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

[formhist] const in get_form_history_value

This commit is contained in:
Witold Filipczyk 2022-02-21 17:27:41 +01:00
parent 08ef46c32e
commit b1d2f48f16
2 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,7 @@ never_for_this_site(void *form_)
}
char *
get_form_history_value(char *url, char *name)
get_form_history_value(const char *url, const char *name)
{
struct formhist_data *form;

View File

@ -28,7 +28,7 @@ struct formhist_data {
/* Look up @name form of @url document in the form history. Returns the saved
* value if present, NULL upon an error. */
char *get_form_history_value(char *url, char *name);
char *get_form_history_value(const char *url, const char *name);
void memorize_form(struct session *ses,
LIST_OF(struct submitted_value) *submit,