mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Fix a const-non-const warning
svn:r5923
This commit is contained in:
parent
7dbea118ce
commit
97bff8edaa
@ -2917,12 +2917,12 @@ normalize_log_options(or_options_t *options)
|
|||||||
/** Add the exit policy described by <b>more</b> to <b>policy</b>.
|
/** Add the exit policy described by <b>more</b> to <b>policy</b>.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
options_append_exit_policy_string(addr_policy_t **policy, char *more)
|
options_append_exit_policy_string(addr_policy_t **policy, const char *more)
|
||||||
{
|
{
|
||||||
config_line_t tmp;
|
config_line_t tmp;
|
||||||
|
|
||||||
tmp.key = NULL;
|
tmp.key = NULL;
|
||||||
tmp.value = more;
|
tmp.value = (char*) more;
|
||||||
tmp.next = NULL;
|
tmp.next = NULL;
|
||||||
config_parse_addr_policy(&tmp, policy, -1);
|
config_parse_addr_policy(&tmp, policy, -1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user