This commit is contained in:
Adam D. Ruppe 2019-12-12 08:46:36 -05:00
parent d04c6806e3
commit c21d3fc42b
1 changed files with 4 additions and 4 deletions

8
cgi.d
View File

@ -3354,8 +3354,8 @@ void cgiMainImpl(alias fun, CustomCgi = Cgi, long maxContentLength = defaultMaxC
version(CRuntime_Musl) {
// LockingTextWriter fails here
// so working around it
auto s = t.toString();
stderr.rawWrite(s);
auto estr = t.toString();
stderr.rawWrite(estr);
stderr.rawWrite("\n");
} else
stderr.writeln(t.toString());
@ -3377,8 +3377,8 @@ void cgiMainImpl(alias fun, CustomCgi = Cgi, long maxContentLength = defaultMaxC
version(CRuntime_Musl) {
// LockingTextWriter fails here
// so working around it
auto s = t.toString();
stderr.rawWrite(s);
auto estr = t.toString();
stderr.rawWrite(estr);
} else {
stderr.writeln(t.toString);
}