fix a bug on spurious output to console during fprintf reported by Evan Lavelle

This commit is contained in:
dwarning 2013-08-15 06:49:15 +02:00 committed by rlar
parent 68da03f9de
commit 20c375bcc2
1 changed files with 1 additions and 1 deletions

View File

@ -1130,7 +1130,7 @@ sh_fputsll(const char *input, FILE* outf)
return result;
}
}
if (outf == stdout) {
else if (outf == stdout) {
if (!outstringout)
delstring = outstringout = copy(input);
else {