Changeset 1740 for trunk/oscam-config.c


Ignore:
Timestamp:
Feb 28, 2010, 9:00:40 AM (10 years ago)
Author:
merek
Message:

Revert last changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-config.c

    r1739 r1740  
    10601060    if (!strcmp(token, "au")) {
    10611061        cfg->dvbapi_au = atoi(value);
     1062        return;
     1063    }
     1064
     1065    if (!strcmp(token, "boxtype")) {
     1066        cs_strncpy(cfg->dvbapi_boxtype, value, sizeof(cfg->dvbapi_boxtype));
    10621067        return;
    10631068    }
     
    17321737        fprintf_conf(f, CONFVARWIDTH, "enabled", "%d\n", cfg->dvbapi_enabled);
    17331738        fprintf_conf(f, CONFVARWIDTH, "au", "%d\n", cfg->dvbapi_au);
     1739        fprintf_conf(f, CONFVARWIDTH, "boxtype", "%s\n", cfg->dvbapi_boxtype);
    17341740        fprintf_conf(f, CONFVARWIDTH, "user", "%s\n", cfg->dvbapi_usr);
    17351741        fputc((int)'\n', f);
Note: See TracChangeset for help on using the changeset viewer.