gg: prepend "Server says" to the reply code

This commit is contained in:
Omar Polo 2023-10-18 17:15:03 +00:00
parent 7980a5d2a8
commit e8b2d8e3f0
1 changed files with 1 additions and 0 deletions

1
gg.c
View File

@ -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 */