mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Make GETINFO hs/client/desc/id/<identifier>
actually work (#14845).
Not in any released version of tor.
This commit is contained in:
parent
411049d0d4
commit
d4729524d1
@ -1740,7 +1740,7 @@ getinfo_helper_dir(control_connection_t *control_conn,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (rend_cache_lookup_entry(question, -1, &e) > 0) {
|
||||
if (!rend_cache_lookup_entry(question, -1, &e)) {
|
||||
/* Descriptor found in cache */
|
||||
*answer = tor_strdup(e->desc);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user