diff options
author | Omar Polo <op@omarpolo.com> | 2023-10-18 17:15:03 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-10-18 17:15:03 +0000 |
commit | e8b2d8e3f029da1e903ffc81d7a1d7b1317e16f4 (patch) | |
tree | 5e499501989086512c92ea576e2871cfc6b02525 /gg.c | |
parent | 7980a5d2a8e3c3db8ce3cd9b7a2151936faeb325 (diff) |
gg: prepend "Server says" to the reply code
Diffstat (limited to 'gg.c')
-rw-r--r-- | gg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |