mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix condition reported by nickm.
This commit is contained in:
parent
73f07c558b
commit
02a735dfa8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user