mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 14:23:04 +01:00
guard->nickname is never NULL.
This commit is contained in:
parent
2cee38f76a
commit
4ec9751c14
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ entry_guard_describe(const entry_guard_t *guard)
|
|||
static char buf[256];
|
||||
tor_snprintf(buf, sizeof(buf),
|
||||
"%s ($%s)",
|
||||
guard->nickname ? guard->nickname : "[bridge]",
|
||||
strlen(guard->nickname) ? guard->nickname : "[bridge]",
|
||||
hex_str(guard->identity, DIGEST_LEN));
|
||||
return buf;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue