Skip to content

Commit

Permalink
Updated command line options code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Nov 26, 2016
1 parent 9d82d10 commit 32c900d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,13 @@ parse_long_opt (const char *name, const char *oarg)
}

/* ignore referer */
if (!strcmp ("ignore-referer", name) && conf.ignore_referer_idx < MAX_IGNORE_REF)
if (!strcmp ("ignore-referer", name) &&
conf.ignore_referer_idx < MAX_IGNORE_REF)
conf.ignore_referers[conf.ignore_referer_idx++] = oarg;

/* ignore status code */
if (!strcmp ("ignore-status", name) && conf.ignore_status_idx < MAX_IGNORE_STATUS) {
if (!strcmp ("ignore-status", name) &&
conf.ignore_status_idx < MAX_IGNORE_STATUS) {
if (!str_inarray (oarg, conf.ignore_status, conf.ignore_status_idx))
conf.ignore_status[conf.ignore_status_idx++] = oarg;
}
Expand Down

0 comments on commit 32c900d

Please sign in to comment.