Skip to content

Commit

Permalink
fix typo causing incorrect apm settigs being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpaulsen committed May 3, 2023
1 parent 118d781 commit 160260d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int write_access_key_file(const char *file_name, const char *access_key)
*/
void adjust_apm_option(bool *option, int action)
{
*option = (action == 2) || (action == 1 && option);
*option = (action == 2) || (action == 1 && *option);
}

/**
Expand Down

0 comments on commit 160260d

Please sign in to comment.