vuplus: relevant pids routing - fix

This commit is contained in:
BPanther
2020-01-18 10:48:38 +01:00
committed by Thilo Graf
parent 0875e2c853
commit 1db0ffb694
2 changed files with 3 additions and 3 deletions

View File

@@ -1949,7 +1949,7 @@ void cCA::SetCIDelay(int Delay)
}
}
void cCA::SetCIRelevantPidsRouting(bool RPR, int slot)
void cCA::SetCIRelevantPidsRouting(int RPR, int slot)
{
char buf[64];
snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot);
@@ -1957,7 +1957,7 @@ void cCA::SetCIRelevantPidsRouting(bool RPR, int slot)
printf("%s -> %s to: %b\n", FILENAME, __func__, RPR);
if (ci)
{
fprintf(ci, "%s", RPR == true ? "yes" : "no");
fprintf(ci, "%s", RPR == 1 ? "yes" : "no");
fclose(ci);
}
}