mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Switch an && to an ||, stop a *NULL.
This commit is contained in:
@@ -3358,7 +3358,7 @@ entry_is_live(entry_guard_t *e, int need_uptime, int need_capacity,
|
||||
return NULL;
|
||||
}
|
||||
node = node_get_by_id(e->identity);
|
||||
if (!node && !node_has_descriptor(node)) {
|
||||
if (!node || !node_has_descriptor(node)) {
|
||||
*msg = "no descriptor";
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user