[tor-commits] [tor/master] Escape configuration values before sending them via CONF_CHANGED.
nickm at torproject.org
nickm at torproject.org
Wed Aug 10 19:06:44 UTC 2011
commit 643913de75b51b4fa50f3c6b0c68e25f6e7a96c1
Author: Kamran Riaz Khan <krkhan at inspirated.com>
Date: Tue Aug 9 15:25:16 2011 +0500
Escape configuration values before sending them via CONF_CHANGED.
---
src/or/config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c
index 02dc7eb..28c83ad 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) {
More information about the tor-commits
mailing list