Direct all prints to STDERR

Direct all prints to STDERR
Take 2
This commit is contained in:
lwvmobile
2022-02-10 16:56:37 -05:00
committed by GitHub
parent 05b9e29724
commit fcf680a138
32 changed files with 623 additions and 626 deletions

View File

@@ -11,18 +11,18 @@ processNXDNVoice (dsd_opts * opts, dsd_state * state)
if (opts->errorbars == 1)
{
printf ("VOICE e:");
fprintf (stderr,"VOICE e:");
}
for (i = 0; i < 30; i++)
{
dibit = getDibit (opts, state);
#ifdef NXDN_DUMP
printf ("%c", dibit + 48);
fprintf (stderr,"%c", dibit + 48);
#endif
}
#ifdef NXDN_DUMP
printf (" ");
fprintf (stderr," ");
#endif
pr = nxdnpr;
@@ -36,7 +36,7 @@ processNXDNVoice (dsd_opts * opts, dsd_state * state)
{
dibit = getDibit (opts, state);
#ifdef NXDN_DUMP
printf ("%c", dibit + 48);
fprintf (stderr,"%c", dibit + 48);
#endif
ambe_fr[*w][*x] = *pr ^ (1 & (dibit >> 1)); // bit 1
pr++;
@@ -48,12 +48,12 @@ processNXDNVoice (dsd_opts * opts, dsd_state * state)
}
processMbeFrame (opts, state, NULL, ambe_fr, NULL);
#ifdef NXDN_DUMP
printf (" ");
fprintf (stderr," ");
#endif
}
if (opts->errorbars == 1)
{
printf ("\n");
fprintf (stderr,"\n");
}
}