tDisplay type description in error message - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 675924be45d5f7e636610792c4aaed40caec012d (DIR) parent b2cd58c614e59b3def93e302717c728b31eea7bd (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Wed, 5 Jul 2017 17:02:21 +0200 Display type description in error message Diffstat: 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; }