Changeset 1667


Ignore:
Timestamp:
02/24/10 08:12:18 (11 years ago)
Author:
alno
Message:

WebIf:

  • leave the parser for gloabal params if no value exists
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/oscam-config.c

    r1666 r1667  
    305305void chk_t_global(char *token, char *value)
    306306{
     307    // no value -> no parsing
     308    if (strlen(value) == 0)
     309        return;
     310
    307311    if (!strcmp(token, "disablelog")) { cfg->disablelog = atoi(value); return; }
    308312  if (!strcmp(token, "serverip")) { cfg->srvip=inet_addr(value); return; }
Note: See TracChangeset for help on using the changeset viewer.