Recently Written · git

sacc

Mirror of git://bitreich.org/sacc, the sacc gopher client from bitreich.org.

git clone https://github.com/equwal/sacc

Log | Files | Refs


commit 49292644fd4a8c983928738fe36ac9daaebc755d
Hiltjo Posthuma <hiltjo@codemadness.org>
2020-01-01 18:01:17 +0100

for displayuri for 'h' types show only the url and not the username field

the username is already visible.

 ui_ti.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui_ti.c b/ui_ti.c
index a55ec45..7b9256e 100644
--- a/ui_ti.c
+++ b/ui_ti.c
@@ -211,8 +211,8 @@ displayuri(Item *item)
 		             item->selector, item->host, item->port);
 		break;
 	case 'h':
-		n = snprintf(bufout, sizeof(bufout), "%s: %s",
-		             item->username, item->selector);
+		n = snprintf(bufout, sizeof(bufout), "%s",
+		             item->selector);
 		break;
 	case 'T':
 		n = snprintf(bufout, sizeof(bufout), "tn3270://%s@%s:%s",