From 20c375bcc2f837caa36d33e4542028030be764d0 Mon Sep 17 00:00:00 2001 From: dwarning Date: Thu, 15 Aug 2013 06:49:15 +0200 Subject: [PATCH] fix a bug on spurious output to console during fprintf reported by Evan Lavelle --- src/sharedspice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sharedspice.c b/src/sharedspice.c index 62775886d..c4386cab0 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -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 {