tDisplay type description in error message - sacc - sacc (saccomys): simple gopher client. | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 675924be45d5f7e636610792c4aaed40caec012d | |
parent b2cd58c614e59b3def93e302717c728b31eea7bd | |
Author: Quentin Rameau | |
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(-) --- | |
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; } |