[tor-commits] [tor/master] Return if CONF_CHANGED isn't interesting.

nickm at torproject.org nickm at torproject.org
Wed Aug 10 19:06:44 UTC 2011


commit 73f07c558b16db14e72b6b738dffd75a890a1001
Author: Kamran Riaz Khan <krkhan at inspirated.com>
Date:   Tue Aug 9 15:28:17 2011 +0500

    Return if CONF_CHANGED isn't interesting.
---
 src/or/control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/control.c b/src/or/control.c
index 706d871..8f3a488 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();





More information about the tor-commits mailing list