version 1.26 | | version 1.27 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.26 2002/09/11 06:21:46 mwedel Exp $"; | | * "$Id: init.c,v 1.27 2002/10/28 04:50:39 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
"at least 0, %d is invalid\n", lev); | | "at least 0, %d is invalid\n", lev); |
else | | else |
settings.dynamiclevel = lev; | | settings.dynamiclevel = lev; |
} | | } else if (!strcasecmp(buf, "fastclock")) { |
else if (!strcasecmp(buf,"simple_exp")) { | | int lev = atoi(cp); |
| | |
| | if (lev < 0) |
| | LOG(llevError, "load_settings: fastclock must be at least 0" |
| | ", %d is invalid\n", lev); |
| | else |
| | settings.fastclock = lev; |
| | } else if (!strcasecmp(buf,"simple_exp")) { |
if (!strcasecmp(cp,"on") || !strcasecmp(cp,"true")) { | | if (!strcasecmp(cp,"on") || !strcasecmp(cp,"true")) { |
settings.simple_exp=TRUE; | | settings.simple_exp=TRUE; |
} else if (!strcasecmp(cp,"off") || !strcasecmp(cp,"false")) { | | } else if (!strcasecmp(cp,"off") || !strcasecmp(cp,"false")) { |