Changeset 1668
- Timestamp:
- 02/24/10 08:39:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/monitor-improvement/oscam-config.c
r1667 r1668 305 305 void chk_t_global(char *token, char *value) 306 306 { 307 // no value -> no parsing308 if (strlen(value) == 0)309 return;310 311 307 if (!strcmp(token, "disablelog")) { cfg->disablelog = atoi(value); return; } 312 if (!strcmp(token, "serverip")) { cfg->srvip=inet_addr(value); return; } 308 309 if (!strcmp(token, "serverip")) { 310 if (strlen(value) == 0) { 311 return; 312 } else { 313 cfg->srvip=inet_addr(value); 314 return; 315 } 316 } 317 313 318 if (!strcmp(token, "logfile")) { 314 319 if (cfg->logfile != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.