/[pengfork]/pengfork/src/options.c
ViewVC logotype

Diff of /pengfork/src/options.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by chupa, Sat Sep 14 15:50:40 2002 UTC revision 1.18 by chupa, Mon Sep 16 14:25:53 2002 UTC
# Line 146  param_t param[PARAM_MAX] = { Line 146  param_t param[PARAM_MAX] = {
146         "enable daemon mode, run in background.", NULL,         "enable daemon mode, run in background.", NULL,
147         __general, NULL),         __general, NULL),
148    
149    INT('D', "debug-level", "debug_level", -1,    INT('D', "debug-level", "debug_level", 0,
150        "set the verbosity level of the debug.", "LEVEL",        "set the verbosity level of the debug.", "LEVEL",
151        __general, check_debug_level),        __general, check_debug_level),
152    
# Line 674  parse_config () Line 674  parse_config ()
674    if (!parse_config_file (homeconfig))    if (!parse_config_file (homeconfig))
675      debug (5,"No personnal config found.\n");      debug (5,"No personnal config found.\n");
676    
677    debug (1,"\n");    debug (5,"\n");
678    return 1;    return 1;
679  }  }
680    
# Line 693  parse_config_file (filename) Line 693  parse_config_file (filename)
693        debug (6,"%s: %s(%d)\n",filename, strerror(errno), errno);        debug (6,"%s: %s(%d)\n",filename, strerror(errno), errno);
694        return 0;        return 0;
695      }      }
696      else
697        debug(3, "Parsing config file: %s\n", filename);
698    while (!feof (f))    while (!feof (f))
699      {      {
700        lineno++;        lineno++;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26