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

@@ -83,7 +83,7 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
k++;
}
cachbits[24] = 0;
printf ("%s ", cachbits);
fprintf (stderr,"%s ", cachbits);
#endif
// current slot
@@ -204,7 +204,7 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
k++;
}
syncbits[48] = 0;
printf ("%s ", syncbits);
fprintf (stderr,"%s ", syncbits);
#endif
if ((strcmp (sync, X2TDMA_BS_DATA_SYNC) == 0) || (strcmp (sync, X2TDMA_BS_DATA_SYNC) == 0))
@@ -221,7 +221,7 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
if (opts->errorbars == 1)
{
printf ("%s %s ", state->slot0light, state->slot1light);
fprintf (stderr,"%s %s ", state->slot0light, state->slot1light);
}
// current slot second half, cach, next slot 1st half
@@ -231,11 +231,11 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
{
if (strcmp (state->fsubtype, " ") == 0)
{
printf (" Unknown burst type: %s\n", bursttype);
fprintf (stderr," Unknown burst type: %s\n", bursttype);
}
else
{
printf ("%s\n", state->fsubtype);
fprintf (stderr,"%s\n", state->fsubtype);
}
}
}