Changeset 4210 for trunk/oscam-simples.c
- Timestamp:
- 12/25/10 19:04:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-simples.c
r4197 r4210 892 892 static char name[83]; 893 893 894 for (name[0] = 0; this && (!name[0]); this = this->next) 895 if (this->caid == caid && this->provid == provid) 896 snprintf(name, 83, "%s / %s / %s", this->prov, this->sat, this->lang); 894 for (name[0] = 0; this && (!name[0]); this = this->next) { 895 if (this->caid == caid && this->provid == provid) { 896 snprintf(name, 83, "%s", this->prov); 897 if (this->sat[0]) { 898 strcat(name, " / "); 899 strcat(name, this->sat); 900 } 901 if (this->lang[0]) { 902 strcat(name, " / "); 903 strcat(name, this->lang); 904 } 905 } 906 } 897 907 898 908 if (!name[0]) snprintf(name, 83, "%04X:%06lX unknown", caid, provid);
Note:
See TracChangeset
for help on using the changeset viewer.