summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorKamran Riaz Khan <krkhan@inspirated.com>2011-08-09 15:28:17 +0500
committerNick Mathewson <nickm@torproject.org>2011-08-10 15:03:25 -0400
commit73f07c558b16db14e72b6b738dffd75a890a1001 (patch)
tree646c3fe4a2d8020ba48093f5763fa4b1881aab8c /src/or/control.c
parent643913de75b51b4fa50f3c6b0c68e25f6e7a96c1 (diff)
downloadtor-73f07c558b16db14e72b6b738dffd75a890a1001.tar.gz
tor-73f07c558b16db14e72b6b738dffd75a890a1001.zip
Return if CONF_CHANGED isn't interesting.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 706d871d69..8f3a488f34 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4008,7 +4008,7 @@ control_event_conf_changed(smartlist_t *elements)
int i;
char *result;
smartlist_t *lines;
- if (smartlist_len(elements) == 0) {
+ if (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) && smartlist_len(elements) == 0) {
return 0;
}
lines = smartlist_create();