defval = getenv(name);
...
switch (cfg[i].flags) {
...
case CFG_INTEGER:
*(int *)cfg[i].value = (int)defval;
break;
Seems like a sscanf() is indicated here. I think your choices are to hack the code or, more simply, to use a config file. Received on Sun 24 Jun 2001 04:33:50 PM GMT
This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT