[tor-commits] [tor/master] Fix condition reported by nickm.

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


commit 02a735dfa847e9cb7b78b58ef1f69d865e4d21bf
Author: Kamran Riaz Khan <krkhan at inspirated.com>
Date:   Tue Aug 9 22:21:04 2011 +0500

    Fix condition reported by nickm.
---
 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 8f3a488..afd0662 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 (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) && 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