Print the type in uri display - 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 3338ef505459c6b0bba430e929c3f7271bce9ea1
(DIR) parent a0ef31d2b7c3849f00ab3e2cd2e6b83df4df35f8
(HTM) Author: trqx@goat.si <trqx@goat.si>
Date: Wed, 30 Aug 2017 18:40:05 +0200
Print the type in uri display
Diffstat:
M ui_ti.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/ui_ti.c b/ui_ti.c
@@ -175,8 +175,9 @@ displayuri(Item *item)
n = printf("%s: %s", item->username, item->selector);
break;
default:
- n = printf("%s: %s:%s%s", item->username,
- item->host, item->port, item->selector);
+ n = printf("%s: %s:%s/%c%s", item->username,
+ item->host, item->port, item->type,
+ item->selector);
break;
}
putp(tparm(exit_standout_mode));