Changeset 9751
- Timestamp:
- 05/29/14 21:52:26 (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-chk.c
r9749 r9751 109 109 if(er->caid == sidtab->caid[i]) { rc |= 1; } 110 110 111 if(! er->prid || !sidtab->num_provid)111 if(!sidtab->num_provid) 112 112 { rc |= 2; } 113 113 else -
trunk/oscam-ecm.c
r9749 r9751 462 462 if(ecm == er) { continue; } 463 463 464 if( er->caid != ecm->caid ||memcmp(ecm->ecmd5, er->ecmd5, CS_ECMSTORESIZE))464 if(memcmp(ecm->ecmd5, er->ecmd5, CS_ECMSTORESIZE)) 465 465 { continue; } 466 466 … … 702 702 void cleanup_ecmtasks(struct s_client *cl) 703 703 { 704 if(cl && !cl->account->usr) { return; } //not for anonymous users!704 if(cl && cl->account && !cl->account->usr[0]) { return; } //not for anonymous users! 705 705 706 706 ECM_REQUEST *ecm; -
trunk/oscam-reader.c
r9749 r9751 1006 1006 1007 1007 //match same ecm 1008 if( er->caid == ecm->caid &&!memcmp(er->ecmd5, ecm->ecmd5, CS_ECMSTORESIZE))1008 if(!memcmp(er->ecmd5, ecm->ecmd5, CS_ECMSTORESIZE)) 1009 1009 { 1010 1010 //check if ask this reader -
trunk/oscam-work.c
r9749 r9751 455 455 // Thread down??? 456 456 pthread_mutex_lock(&cl->thread_lock); 457 if(cl ->thread_active)457 if(cl && !cl->kill && cl->thread && cl->thread_active) 458 458 { 459 459 // Just test for invalid thread id: … … 486 486 487 487 pthread_mutex_lock(&cl->thread_lock); 488 if(cl ->thread_active)488 if(cl && !cl->kill && cl->thread_active) 489 489 { 490 490 if(!cl->joblist)
Note:
See TracChangeset
for help on using the changeset viewer.