mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
fix port in signidentity dialog
This commit is contained in:
parent
65d734df58
commit
24660f3e2c
@ -282,7 +282,7 @@ void layoutSignIdentity(const IdentityType *identity, const char *challenge)
|
||||
strlcpy(row_hostport, identity->host, sizeof(row_hostport));
|
||||
if (identity->has_port && identity->port[0]) {
|
||||
strlcat(row_hostport, ":", sizeof(row_hostport));
|
||||
strlcat(row_hostport, identity->user, sizeof(row_hostport));
|
||||
strlcat(row_hostport, identity->port, sizeof(row_hostport));
|
||||
}
|
||||
} else {
|
||||
row_hostport[0] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user