From: leslie Date: Mon, 4 Feb 2008 10:14:21 +0000 (+0100) Subject: viaccess: fix TPS AU dump X-Git-Tag: 0.9.0~12 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=d4a4d4563bcf6dd3995e9a70038056076e1c86e9;p=sasc-ng.git viaccess: fix TPS AU dump --- diff --git a/systems/viaccess/tps.c b/systems/viaccess/tps.c index 40d654d..5ac0aca 100644 --- a/systems/viaccess/tps.c +++ b/systems/viaccess/tps.c @@ -42,6 +42,10 @@ //#define TRUST_BOXTIME // should we trust the local time on this machine? //#define DUMP_TPSAU "/var/tmp" +#ifdef DUMP_TPSAU +#include +#endif + // -- cRC6 --------------------------------------------------------------------- /* @@ -754,7 +758,7 @@ bool cTpsKeys::ProcessAu(const cOpenTVModule *mod) } } if(!kd || !cb1 || !cb2 || !cb3) { - PRINTF(L_SYS_TPSAU,"couldn't locate all pointers in data section"); + PRINTF(L_SYS_TPSAU,"couldn't locate all pointers in data section (%d,%d,%d,%d)",kd,cb1,cb2,cb3); return false; } unsigned int len=(kd>cb1 && kd>cb2 && kd>cb3) ? kd : datahdr->dlen;