Print the type in uri display in txt UI too - 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 ccbccf5ade02e280dd1ab05a8df0ed3b143d1647
(DIR) parent 3338ef505459c6b0bba430e929c3f7271bce9ea1
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 30 Aug 2017 18:56:35 +0200
Print the type in uri display in txt UI too
Diffstat:
M ui_txt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/ui_txt.c b/ui_txt.c
@@ -144,8 +144,8 @@ printuri(Item *item, size_t i)
printf("%zu: %s: %s\n", i, item->username, item->selector);
break;
default:
- printf("%zu: %s: %s:%s%s\n", i, item->username,
- item->host, item->port, item->selector);
+ printf("%zu: %s: %s:%s/%c%s\n", i, item->username,
+ item->host, item->port, item->type, item->selector);
break;
}
}