diff options
author | Stef Walter <stef@memberwebs.com> | 2004-09-03 03:08:59 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-09-03 03:08:59 +0000 |
commit | 5ffcde771f80f20d560180a631bf0b9aa363b318 (patch) | |
tree | 32b1dc6c8ccf0caff69644c1ded22822ded665a8 /src/clstate.c | |
parent | 6a250c8a1e581287d7ff3c88582ab337e21ac50f (diff) |
pidfile should be an argument not a configuration option
Diffstat (limited to 'src/clstate.c')
-rw-r--r-- | src/clstate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/clstate.c b/src/clstate.c index 3c6084c..0a166f9 100644 --- a/src/clstate.c +++ b/src/clstate.c @@ -86,7 +86,6 @@ #define CFG_BOUNCE "Bounce" #define CFG_QUARANTINE "Quarantine" #define CFG_DEBUGFILES "DebugFiles" -#define CFG_PIDFILE "PidFile" /* The set of delimiters that can be present between config and value */ #define CFG_DELIMS ": \t" @@ -231,8 +230,6 @@ int clstate_parse_config(clstate_t* state, const char* configfile) else if(PARSE(CFG_DIRECTORY)) state->directory = VAL; - else if(PARSE(CFG_PIDFILE)) - state->pidfile = VAL; else if(PARSE(CFG_BOUNCE)) state->bounce = strtob(VAL); @@ -288,8 +285,6 @@ void clstate_validate(clstate_t* state) if(strlen(state->directory) == 0) errx(2, "invalid setting: " CFG_DIRECTORY); - if(state->pidfile && strlen(state->pidfile) == 0) - errx(2, "invalid setting: " CFG_PIDFILE); if(state->header) { |