Skip to content

Commit

Permalink
Refactor: main: substitute is_auth_req macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jnpkrn committed Jun 9, 2016
1 parent f01c4e8 commit da79b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static int setup_config(int type)
if (rv < 0)
goto out;

if (booth_conf->authfile[0] != '\0') {
if (is_auth_req()) {
rv = read_authkey();
if (rv < 0)
goto out;
Expand Down

0 comments on commit da79b8b

Please sign in to comment.