From 6faa49daad73b877b6f43963400aa911c1c9c677 Mon Sep 17 00:00:00 2001 From: Hani Benhabiles Date: Sat, 6 Apr 2019 16:36:19 +0100 Subject: [PATCH] Fix prefs key in nvticache_delete(). --- util/nvticache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/nvticache.c b/util/nvticache.c index 67e701bc0..796a032d1 100644 --- a/util/nvticache.c +++ b/util/nvticache.c @@ -585,7 +585,7 @@ nvticache_delete (const char *oid) assert (oid); filename = nvticache_get_filename (oid); - g_snprintf (pattern, sizeof (pattern), "prefs:%s", oid); + g_snprintf (pattern, sizeof (pattern), "oid:%s:prefs", oid); kb_del_items (cache_kb, pattern); g_snprintf (pattern, sizeof (pattern), "nvt:%s", oid); kb_del_items (cache_kb, pattern);