Changeset 17922


Ignore:
Timestamp:
09/16/12 19:25:39 (12 years ago)
Author:
nit
Message:

[titan] fix ci

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/ca.h

    r17905 r17922  
    17011701}
    17021702
    1703 int sendcapmttocam(struct service* node, unsigned char* buf, int len, int caservicenr, int cmdpos)
     1703int sendcapmttocam(struct service* node, unsigned char* buf, int len, int caservicenr, int cmdpos, int clear)
    17041704{
    17051705        char* tmpstr = NULL, *blacklist = NULL;
     
    17141714                        //check if crypt can onyl handle single service
    17151715                        tmpstr = ostrcat("camtype_", oitoa(dvbnode->devnr), 0, 1);
    1716                         if(getconfigint(tmpstr, NULL) == 0 && getcaservicebyslot(dvbnode->caslot, 1) > -1)
     1716                        if(clear == 0 && getconfigint(tmpstr, NULL) == 0 && getcaservicebyslot(dvbnode->caslot, 1) > -1)
    17171717                        {
    17181718                                debug(620, "cam is singel and is in use");
     
    17961796
    17971797                        //check if cam can decrypt
    1798                         if(caservice[caservicenr].camanager > -1 && getconfigint("checkcamdecrypt", NULL) == 1)
     1798                        if(clear == 0 && caservice[caservicenr].camanager > -1 && getconfigint("checkcamdecrypt", NULL) == 1)
    17991799                        {
    18001800                                if(buf != NULL && len >= cmdpos)
  • titan/titan/cam.h

    r17902 r17922  
    399399#ifdef CAMSUPP
    400400                if(caservice[caservicenr].caslot == NULL || clear == 1)
    401                         sendcapmttocam(node, buf, pos, caservicenr, lenbytes + 9);
     401                        sendcapmttocam(node, buf, pos, caservicenr, lenbytes + 9, clear);
    402402#endif
    403403                if(clear == 0)
Note: See TracChangeset for help on using the changeset viewer.