/[anubis]/anubis/src/rc.c
ViewVC logotype

Diff of /anubis/src/rc.c

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

revision 1.29 by gray, Thu Aug 14 12:33:25 2003 UTC revision 1.30 by polak, Thu Aug 21 20:19:11 2003 UTC
# Line 252  control_parser(int method, int key, LIST Line 252  control_parser(int method, int key, LIST
252                  break;                  break;
253    
254          case KW_LOGFILE:          case KW_LOGFILE:
255                  if (method & (CF_SUPERVISOR|CF_INIT)) {                  if (method == CF_CLIENT) {
                         xfree(options.slogfile);  
                         options.slogfile = allocbuf(arg, MAXPATHLEN);  
                 } else if (method == CF_CLIENT) {  
256                          xfree(options.ulogfile);                          xfree(options.ulogfile);
257                          options.ulogfile = allocbuf(arg, MAXPATHLEN);                          options.ulogfile = allocbuf(arg, MAXPATHLEN);
258                  }                  }
# Line 362  static struct rc_secdef_child init_super Line 359  static struct rc_secdef_child init_super
359  };  };
360    
361  struct rc_kwdef client_kw[] = {  struct rc_kwdef client_kw[] = {
362            { "logfile", KW_LOGFILE },
363          { "loglevel", KW_LOGLEVEL },          { "loglevel", KW_LOGLEVEL },
364          { NULL },          { NULL },
365  };  };
# Line 375  static struct rc_secdef_child client_sec Line 373  static struct rc_secdef_child client_sec
373  };  };
374    
375  struct rc_kwdef control_kw[] = {  struct rc_kwdef control_kw[] = {
         { "logfile", KW_LOGFILE },  
376          { "remote-mta", KW_REMOTE_MTA },          { "remote-mta", KW_REMOTE_MTA },
377          { "local-mta", KW_LOCAL_MTA },          { "local-mta", KW_LOCAL_MTA },
378          { "esmtp-auth", KW_ESMTP_AUTH },          { "esmtp-auth", KW_ESMTP_AUTH },

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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