Skip to content

Commit

Permalink
Fix: Corrected the used index in the iterator access function "config…
Browse files Browse the repository at this point in the history
…_iterator_usage_type(...)".

Because the iterator access function "config_iterator_usage_type(...)" always returned NULL instead of the correct value, the used index in that function had to be corrected.
  • Loading branch information
jhelmold authored Jun 5, 2023
2 parents 33ae8f7 + 49b8bc6 commit 412648c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage_sql_configs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3255,7 +3255,7 @@ config_iterator_nvts_growing (iterator_t* iterator)
* @return The usage type of the config, or NULL if iteration is complete.
* Freed by cleanup_iterator.
*/
DEF_ACCESS (config_iterator_usage_type, GET_ITERATOR_COLUMN_COUNT + 8);
DEF_ACCESS (config_iterator_usage_type, GET_ITERATOR_COLUMN_COUNT + 6);

/**
* @brief Get predefined status from a config iterator.
Expand Down

0 comments on commit 412648c

Please sign in to comment.