for displayuri for 'h' types show only the url and not the username field - sacc - sacc(omys), simple console gopher client
(HTM) git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) LICENSE
---
(DIR) commit 49292644fd4a8c983928738fe36ac9daaebc755d
(DIR) parent 7f2e86d875364e7828b2af55721e784ca0de5298
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 1 Jan 2020 18:01:17 +0100
for displayuri for 'h' types show only the url and not the username field
the username is already visible.
Diffstat:
M ui_ti.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git 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",