Skip to content

Commit

Permalink
Handle configuration with F-Ticks enabled but w/o FTicksMac.
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Nordberg committed Sep 27, 2011
1 parent bde15e6 commit f2d92c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fticks.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ fticks_configure(struct options *options,

if (reporting == NULL)
goto out;

if (strcasecmp(reporting, "None") == 0)
options->fticks_reporting = RSP_FTICKS_REPORTING_NONE;
else if (strcasecmp(reporting, "Basic") == 0)
Expand All @@ -78,6 +77,8 @@ fticks_configure(struct options *options,
goto out;
}

if (mac == NULL)
goto out;
if (strcasecmp(mac, "Static") == 0)
options->fticks_mac = RSP_FTICKS_MAC_STATIC;
else if (strcasecmp(mac, "Original") == 0)
Expand Down

0 comments on commit f2d92c0

Please sign in to comment.