summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r--runtime/stpd/librelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c
index f39b0785..0a5040c2 100644
--- a/runtime/stpd/librelay.c
+++ b/runtime/stpd/librelay.c
@@ -624,9 +624,9 @@ static int merge_output(void)
}
}
- if (!quiet)
+ if (min && !quiet)
fwrite_unlocked (buf[j]+TIMESTAMP_SIZE, length[j], 1, stdout);
- if (!print_only)
+ if (min && !print_only)
fwrite_unlocked (buf[j]+TIMESTAMP_SIZE, length[j], 1, ofp);
if (min && ++count != min) {