fix: show item->redtype in uistatus when it is set and is a reserved type - 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 81119985dca56161474faa5c9b70996d7a1aea83
(DIR) parent 9ac96c9c33647dba0753904cff89e4aab877c711
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 15 Aug 2018 13:07:44 +0200
fix: show item->redtype in uistatus when it is set and is a reserved type
Diffstat:
M sacc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sacc.c b/sacc.c
@@ -697,7 +697,7 @@ dig(Item *entry, Item *item)
default:
if (t >= '0' && t <= 'Z')
uistatus("Type %c (%s) not supported",
- item->type, typedisplay(item->type));
+ t, typedisplay(t));
else
plumbitem(item);
return 0;