]> www.vanbest.org Git - sasc-ng.git/commitdiff
cardclient: add logmsg for failed, cached ECM
authorleslie <unknown>
Sun, 10 Jun 2012 10:21:03 +0000 (12:21 +0200)
committerleslie <unknown>
Sun, 10 Jun 2012 10:21:03 +0000 (12:21 +0200)
systems/cardclient/cc.c

index 557737b6771600096c195aa2c734fb42b74a8544..0b1da8a5d99e704aeaf2a9cc9291b63555b61f9c 100644 (file)
@@ -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;