Skip to content

Commit

Permalink
Fix sequence for vt_refs.
Browse files Browse the repository at this point in the history
  • Loading branch information
janowagner committed Jun 9, 2019
1 parent b06a75d commit 6529f41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -15554,9 +15554,9 @@ update_nvti_cache ()

while (next (&refs))
{
nvti_add_vtref (nvti, vtref_new (iterator_string (&refs, 0),
iterator_string (&refs, 1),
iterator_string (&refs, 2)));
nvti_add_vtref (nvti, vtref_new (iterator_string (&refs, 1),
iterator_string (&refs, 2),
iterator_string (&refs, 3)));
}

cleanup_iterator (&refs);
Expand Down

0 comments on commit 6529f41

Please sign in to comment.