for normal info text prefix with type (spaces) so it aligns properly - gopherpr… | |
git clone git://git.codemadness.org/gopherproxy-c | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 09feebbc6b6947493acdadf0afca1a61da517c40 | |
parent f3ee251cc87fed2ff5ef4f8b9679c03cad71a5f6 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
diff --git a/gopherproxy.c b/gopherproxy.c | |
@@ -303,6 +303,7 @@ servedir(const char *server, const char *port, const char *… | |
switch (v._type) { | |
case 'i': /* info */ | |
case '3': /* error */ | |
+ fputs(typestr(v._type), stdout); | |
fputs(" ", stdout); | |
xmlencode(v.username); | |
break; |