mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 15:23:27 +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;
|
int i;
|
||||||
char *result;
|
char *result;
|
||||||
smartlist_t *lines;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
lines = smartlist_create();
|
lines = smartlist_create();
|
||||||
|
Loading…
Reference in New Issue
Block a user