Fix a const-non-const warning

svn:r5923
This commit is contained in:
Nick Mathewson 2006-02-06 04:55:27 +00:00
parent 7dbea118ce
commit 97bff8edaa

View File

@ -2917,12 +2917,12 @@ normalize_log_options(or_options_t *options)
/** Add the exit policy described by <b>more</b> to <b>policy</b>.
*/
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;
tmp.key = NULL;
tmp.value = more;
tmp.value = (char*) more;
tmp.next = NULL;
config_parse_addr_policy(&tmp, policy, -1);
}