Skip to content

Commit

Permalink
test_config: correct check for DEBUG option
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaas80 committed Oct 14, 2020
1 parent 3dc3045 commit 2191107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void get_global_options(void)
AXL_KEY_CONFIG_DEBUG);
exit(EXIT_FAILURE);
}
if (new_axl_debug != !old_axl_file_buf_size) {
if (new_axl_debug != !old_axl_debug) {
printf("AXL_Config returned unexpected value %d for %s. Expected %d.\n",
new_axl_debug, AXL_KEY_CONFIG_DEBUG, !old_axl_debug);
exit(EXIT_FAILURE);
Expand Down

0 comments on commit 2191107

Please sign in to comment.