tDisplay type description in error message - sacc - sacc(omys), simple console gopher client (mirror) HTML git clone https://git.parazyd.org/sacc DIR Log DIR Files DIR Refs DIR LICENSE --- DIR commit 675924be45d5f7e636610792c4aaed40caec012d DIR parent b2cd58c614e59b3def93e302717c728b31eea7bd HTML Author: Quentin Rameau <quinq@fifth.space> Date: Wed, 5 Jul 2017 17:02:21 +0200 Display type description in error message Diffstat: M sacc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/sacc.c b/sacc.c t@@ -364,7 +364,8 @@ dig(Item *entry, Item *item) } break; default: - fprintf(stderr, "Type %c not supported\n", item->type); + fprintf(stderr, "Type %c (%s) not supported\n", + item->type, typedisplay(item->type)); return 0; }