Skip to content

Commit

Permalink
Use correct case for timeout in nvt_preference_count
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and timopollmeier committed Oct 31, 2023
1 parent fe0093c commit 4d99fcc
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 @@ -1958,7 +1958,7 @@ nvt_preference_count (const char *oid)
{
gchar *quoted_oid = sql_quote (oid);
int ret = sql_int ("SELECT COUNT(*) FROM nvt_preferences"
" WHERE NOT (pref_type = 'entry' AND pref_name = 'Timeout')"
" WHERE NOT (pref_type = 'entry' AND pref_name = 'timeout')"
" AND pref_nvt = '%s';",
quoted_oid);
g_free (quoted_oid);
Expand Down

0 comments on commit 4d99fcc

Please sign in to comment.