for normal info text prefix with type (spaces) so it aligns properly - gopherproxy-c - Gopher HTTP proxy in C (CGI)
HTML git clone git://git.codemadness.org/gopherproxy-c
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 09feebbc6b6947493acdadf0afca1a61da517c40
DIR parent f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:26:29 +0200
for normal info text prefix with type (spaces) so it aligns properly
Diffstat:
M gopherproxy.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/gopherproxy.c b/gopherproxy.c
@@ -303,6 +303,7 @@ servedir(const char *server, const char *port, const char *path, const char *par
switch (v._type) {
case 'i': /* info */
case '3': /* error */
+ fputs(typestr(v._type), stdout);
fputs(" ", stdout);
xmlencode(v.username);
break;