Skip to content

Commit

Permalink
Fix: Corrected the used index in an iterator access function.
Browse files Browse the repository at this point in the history
(backport #1996)
  • Loading branch information
timopollmeier authored Jun 5, 2023
2 parents eadb1a3 + 8e38287 commit 3f2621a
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 3f2621a

Please sign in to comment.