From f38806c7db98222274d6ef2466d0966f85a797ac Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 5 Apr 2006 20:52:07 +0000 Subject: [PATCH] 2006-04-05 Martin Hunt * librelay.c (merge_output): Remove ANSI codes and write warning to stderr. --- runtime/stpd/ChangeLog | 5 +++++ runtime/stpd/librelay.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog index 813f566fe..26b19c8f7 100644 --- a/runtime/stpd/ChangeLog +++ b/runtime/stpd/ChangeLog @@ -1,6 +1,11 @@ 2006-04-05 Martin Hunt + * librelay.c (merge_output): Remove ANSI codes and write + warning to stderr. +2006-04-05 Martin Hunt * librelay.c (merge_output): Set the output filename if necessary. + (merge_output): + * stpd.c (main): Don't reset output_filename just because relayfs is possible. Move that code to librelay.c. diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index e1d9e499f..d9968a413 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -626,7 +626,7 @@ static int merge_output(void) fclose (fp[i]); fclose (ofp); if (dropped) - printf ("\033[33mSequence had %d drops.\033[0m\n", dropped); + fprintf (stderr, "Sequence had %d drops.\n", dropped); return 0; } -- 2.43.5