From e8b2d8e3f029da1e903ffc81d7a1d7b1317e16f4 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Wed, 18 Oct 2023 17:15:03 +0000 Subject: gg: prepend "Server says" to the reply code --- gg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gg.c') diff --git a/gg.c b/gg.c index 623d2ea..9dfd826 100644 --- a/gg.c +++ b/gg.c @@ -308,6 +308,7 @@ get(const char *r) assert(t != NULL); if (code < 20 || code >= 30) { *t = '\0'; + fprintf(stderr, "Server says: "); safeprint(stderr, buf + 3); /* skip return code */ } t += 2; /* skip \r\n */ -- cgit v1.2.3