Changeset 1186 for branches/smartreader/oscam-config.c
- Timestamp:
- 01/11/10 17:55:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/oscam-config.c
r1158 r1186 542 542 static void chk_t_dvbapi(char *token, char *value) 543 543 { 544 if (!strcmp(token, "enabled")) 545 if (!strcmp(token, "au")) 544 if (!strcmp(token, "enabled")) { cfg->dvbapi_enabled=atoi(value); return; } 545 if (!strcmp(token, "au")) { cfg->dvbapi_au=atoi(value); return; } 546 546 if (!strcmp(token, "boxtype")) { strncpy(cfg->dvbapi_boxtype, value, sizeof(cfg->dvbapi_boxtype)-1); return; } 547 547 if (!strcmp(token, "user")) { strncpy(cfg->dvbapi_usr, value, sizeof(cfg->dvbapi_usr)-1); return; } 548 if (!strcmp(token, "priority")) { strncpy(cfg->dvbapi_priority, value, sizeof(cfg->dvbapi_priority)-1); return; } 549 if (!strcmp(token, "ignore")) { strncpy(cfg->dvbapi_ignore, value, sizeof(cfg->dvbapi_ignore)-1); return; } 548 550 549 551 if (token[0] != '#')
Note:
See TracChangeset
for help on using the changeset viewer.