Skip to content

Commit

Permalink
Correct parse os option -f
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbf committed Sep 12, 2019
1 parent 479ae56 commit 9f9f12c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smf-spf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1068,7 +1068,7 @@ int main(int argc, char **argv) {
fprintf(stderr, "Usage: smf-spf [-f] -c <config file>\n");
return 0;
case 'f':
if (optarg) foreground = 1;
foreground = 1;
break;
case 'c':
if (optarg) config_file = optarg;
Expand Down

0 comments on commit 9f9f12c

Please sign in to comment.