From 77f31e5389a7b0deee8b8a547e05a0d52c3fc371 Mon Sep 17 00:00:00 2001 From: leslie Date: Sun, 10 Jun 2012 12:21:03 +0200 Subject: [PATCH] cardclient: add logmsg for failed, cached ECM --- systems/cardclient/cc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/cardclient/cc.c b/systems/cardclient/cc.c index 557737b..0b1da8a 100644 --- a/systems/cardclient/cc.c +++ b/systems/cardclient/cc.c @@ -230,6 +230,9 @@ bool cSystemCardClient::ProcessECM(const cEcmInfo *ecm, unsigned char *data) PRINTF(L_CC_CORE,"client %s (%s:%d) ECM failed (%d ms)",cc->Name(),cc->hostname,cc->port,(int)start.Elapsed()); cc->msECM.Cache(id,false,cw); } + if(id<0) { + PRINTF(L_CC_CORE,"client %s (%s:%d) ECM already cached as failed",cc->Name(),cc->hostname,cc->port); + } } if(!cc) PRINTF(L_CC_CORE,"cc-loop"); oldcc=cc; -- 2.39.5