From 4d99fccf3ff45f4a80bc3b437e299ba278fa6705 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 30 Oct 2023 12:02:41 +0200 Subject: [PATCH] Use correct case for timeout in nvt_preference_count --- src/manage_sql_configs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage_sql_configs.c b/src/manage_sql_configs.c index 02c4294c1..4c87780f9 100644 --- a/src/manage_sql_configs.c +++ b/src/manage_sql_configs.c @@ -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);