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 {