aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKamran Riaz Khan <krkhan@inspirated.com>2011-08-09 15:25:16 +0500
committerNick Mathewson <nickm@torproject.org>2011-08-10 15:03:24 -0400
commit643913de75b51b4fa50f3c6b0c68e25f6e7a96c1 (patch)
tree575f717051b6f993d646c0f8b48c1f2326afa446 /src
parent86f68ed6953620e14c7f9894e01ab2eafea250e7 (diff)
downloadtor-643913de75b51b4fa50f3c6b0c68e25f6e7a96c1.tar.gz
tor-643913de75b51b4fa50f3c6b0c68e25f6e7a96c1.zip
Escape configuration values before sending them via CONF_CHANGED.
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 02dc7eba5a..28c83adc4f 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -718,7 +718,7 @@ set_options(or_options_t *new_val, char **msg)
if (!option_is_same(&options_format, new_val, old_options,
options_format.vars[i].name)) {
line = get_assigned_option(&options_format, new_val,
- options_format.vars[i].name, 0);
+ options_format.vars[i].name, 1);
if (line) {
for (; line; line = line->next) {