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

Diff of /pengfork/src/checkopt.c

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

revision 1.1 by chupa, Sat Sep 14 15:50:40 2002 UTC revision 1.2 by chupa, Mon Sep 16 14:25:53 2002 UTC
# Line 133  check_debug_level(option, level) Line 133  check_debug_level(option, level)
133       char *option;       char *option;
134       int level;       int level;
135  {  {
136    if(level>=0 && level<=10) return 1;    if(level>=0 && level<=DEBUG_MAX) return 1;
137    
138    log(LOG_ERR, "%s must be between 0 and 10.\n", option);    log(LOG_ERR, "%s must be between 0 and 10.\n", option);
139    return 0;    return 0;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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