[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix condition reported by nickm.
commit 02a735dfa847e9cb7b78b58ef1f69d865e4d21bf
Author: Kamran Riaz Khan <krkhan@xxxxxxxxxxxxxx>
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();
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits