mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[formhist] const in get_form_history_value
This commit is contained in:
parent
08ef46c32e
commit
b1d2f48f16
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user