aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-02-06 04:55:27 +0000
committerNick Mathewson <nickm@torproject.org>2006-02-06 04:55:27 +0000
commit97bff8edaa65871eda905862ea2528e1f2841f0e (patch)
treeb79ec0e7a4b68efb4e05e99df20eb81741bfc4b8 /src/or/config.c
parent7dbea118ce855e02a0dc0de191da654c653efacb (diff)
downloadtor-97bff8edaa65871eda905862ea2528e1f2841f0e.tar
tor-97bff8edaa65871eda905862ea2528e1f2841f0e.tar.gz
Fix a const-non-const warning
svn:r5923
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 39df0715b..1b384789e 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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);
}