if (res < 0) {
/* is threshold 3 missing tables enough? */
if (incomplete > 0 && total > incomplete && incomplete <= 3) {
- tvhinfo(LS_MPEGTS, "%s - scan complete (partial - %d/%d tables)", buf, total, incomplete);
+ tvhinfo(LS_MPEGTS, "%s - scan complete (partial - %d/%d tables)", buf, incomplete, total);
mpegts_network_scan_mux_partial(mm);
} else {
- tvhwarn(LS_MPEGTS, "%s - scan timed out (%d/%d tables)", buf, total, incomplete);
+ tvhwarn(LS_MPEGTS, "%s - scan timed out (%d/%d tables)", buf, incomplete, total);
mpegts_network_scan_mux_fail(mm);
}
} else if (res) {