summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-29 13:30:49 -0400
committerNick Mathewson <nickm@torproject.org>2013-11-18 10:43:15 -0500
commit0cf234317f4dd6395490f24f12a7d35a480ddf11 (patch)
treef182aa7bfb3a43626a43504ce609360fbdc1cb25 /src/or/config.c
parentd631ddfb59eca910d1faf45a711da630bab7c89a (diff)
downloadtor-0cf234317f4dd6395490f24f12a7d35a480ddf11.tar.gz
tor-0cf234317f4dd6395490f24f12a7d35a480ddf11.zip
Unit tests for new functions in log.c
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c62a25a7a9..fc033ce1bc 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1142,8 +1142,6 @@ options_act_reversible(const or_options_t *old_options, char **msg)
goto rollback;
}
- tor_log_update_sigsafe_err_fds();
-
commit:
r = 0;
if (logs_marked) {
@@ -1153,6 +1151,7 @@ options_act_reversible(const or_options_t *old_options, char **msg)
add_callback_log(severity, control_event_logmsg);
control_adjust_event_log_severity();
tor_free(severity);
+ tor_log_update_sigsafe_err_fds();
}
if (get_min_log_level() >= LOG_INFO &&
get_min_log_level() != old_min_log_level) {