diff options
author | Kamran Riaz Khan <krkhan@inspirated.com> | 2011-08-09 22:21:04 +0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-08-10 15:03:25 -0400 |
commit | 02a735dfa847e9cb7b78b58ef1f69d865e4d21bf (patch) | |
tree | 404e57c7016a4806d46b46744baf4777de731681 /src/or | |
parent | 73f07c558b16db14e72b6b738dffd75a890a1001 (diff) | |
download | tor-02a735dfa847e9cb7b78b58ef1f69d865e4d21bf.tar tor-02a735dfa847e9cb7b78b58ef1f69d865e4d21bf.tar.gz |
Fix condition reported by nickm.
Diffstat (limited to 'src/or')
-rw-r--r-- | 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 8f3a488f3..afd0662df 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(); |