mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
Direct all prints to STDERR
Direct all prints to STDERR Take 2
This commit is contained in:
@@ -52,7 +52,7 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
||||
|
||||
if (opts->errorbars == 1)
|
||||
{
|
||||
printf ("e:");
|
||||
fprintf (stderr, "e:");
|
||||
}
|
||||
|
||||
// IMBE 1
|
||||
@@ -188,12 +188,12 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
||||
|
||||
if (opts->errorbars == 1)
|
||||
{
|
||||
printf ("\n");
|
||||
fprintf (stderr, "\n");
|
||||
}
|
||||
|
||||
if (opts->p25status == 1)
|
||||
{
|
||||
printf ("lsd1: %s lsd2: %s\n", lsd1, lsd2);
|
||||
fprintf (stderr, "lsd1: %s lsd2: %s\n", lsd1, lsd2);
|
||||
}
|
||||
|
||||
// trailing status symbol
|
||||
@@ -236,7 +236,7 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
||||
|
||||
|
||||
#ifdef HEURISTICS_DEBUG
|
||||
printf("(audio errors, header errors, critical header errors) (%i,%i,%i)\n",
|
||||
fprintf (stderr, "(audio errors, header errors, critical header errors) (%i,%i,%i)\n",
|
||||
state->debug_audio_errors, state->debug_header_errors, state->debug_header_critical_errors);
|
||||
#endif
|
||||
|
||||
@@ -365,6 +365,6 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
||||
{
|
||||
algidhex = strtol (algid, NULL, 2);
|
||||
kidhex = strtol (kid, NULL, 2);
|
||||
printf ("mi: %s algid: $%x kid: $%x\n", mi, algidhex, kidhex);
|
||||
fprintf (stderr, "mi: %s algid: $%x kid: $%x\n", mi, algidhex, kidhex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user