1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-13 05:43:37 -04:00

[config] const char *

This commit is contained in:
Witold Filipczyk 2021-03-02 10:45:59 +01:00
parent 695ef45cf1
commit eed5f29c00
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ INIT_LIST_OF(struct domain_tree, domain_trees);
* that best matches the given domain name. */
static struct option *
get_domain_option(char *domain_name, int domain_len,
char *name)
const char *name)
{
struct option *opt, *longest_match_opt = NULL;
struct domain_tree *longest_match = NULL;
@ -46,7 +46,7 @@ get_domain_option(char *domain_name, int domain_len,
}
struct option *
get_domain_option_from_session(char *name, struct session *ses)
get_domain_option_from_session(const char *name, struct session *ses)
{
struct uri *uri;

View File

@ -25,7 +25,7 @@ extern LIST_OF(struct domain_tree) domain_trees;
struct option *get_domain_tree(char *);
struct option *get_domain_option_from_session(char *,
struct option *get_domain_option_from_session(const char *,
struct session *);
void done_domain_trees(void);