mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
make last patch compile
svn:r2255
This commit is contained in:
parent
525a4fc365
commit
9bcd4a9c6a
@ -82,7 +82,7 @@ static link_history_t *get_link_history(const char *from_id,
|
||||
if (!orhist)
|
||||
return NULL;
|
||||
base16_encode(to_hexid, HEX_DIGEST_LEN+1, to_id, DIGEST_LEN);
|
||||
if (!strcmp(hexid, "0000000000000000000000000000000000000000"))
|
||||
if (!strcmp(to_hexid, "0000000000000000000000000000000000000000"))
|
||||
return NULL;
|
||||
lhist = (link_history_t*) strmap_get(orhist->link_history_map, to_hexid);
|
||||
if (!lhist) {
|
||||
|
Loading…
Reference in New Issue
Block a user