From 24660f3e2cf1e2d1b285122ed0df36849fb5c1b3 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 3 Mar 2015 17:42:25 +0100 Subject: [PATCH] fix port in signidentity dialog --- firmware/layout2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/layout2.c b/firmware/layout2.c index 7eca9f5..8175729 100644 --- a/firmware/layout2.c +++ b/firmware/layout2.c @@ -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;