summaryrefslogtreecommitdiff
path: root/src/clstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clstate.c')
-rw-r--r--src/clstate.c5
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)
{