[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 73f07c558b16db14e72b6b738dffd75a890a1001
Author: Kamran Riaz Khan <krkhan@xxxxxxxxxxxxxx>
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();



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits