From 9f9f12c3bd02b1d931dbf5ec93c3fd27812a50bc Mon Sep 17 00:00:00 2001 From: Jose Borges Ferreira Date: Fri, 13 Sep 2019 00:32:03 +0100 Subject: [PATCH] Correct parse os option -f --- smf-spf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smf-spf.c b/smf-spf.c index 23f1c45..1164cb5 100644 --- a/smf-spf.c +++ b/smf-spf.c @@ -61,7 +61,7 @@ #define ADD_RECV_HEADER 0 #define QUARANTINE 0 #define DAEMONIZE 1 -#define VERSION "2.4.2" +#define VERSION "2.4.3" #define MAXLINE 258 #define MAXLOCALPART 64 @@ -1068,7 +1068,7 @@ int main(int argc, char **argv) { fprintf(stderr, "Usage: smf-spf [-f] -c \n"); return 0; case 'f': - if (optarg) foreground = 1; + foreground = 1; break; case 'c': if (optarg) config_file = optarg;