aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-05-13 13:18:46 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-05-13 13:18:46 +0100
commita6c019c98aeab124721984be79bc6ac994f38fb1 (patch)
treee227007e91284d9c39dd11c268ccf5e24169a8f7
parent6dbeebbaf8f65a40a31414cf8c01161e8d8fefcc (diff)
downloadrspamd-a6c019c98aeab124721984be79bc6ac994f38fb1.tar.gz
rspamd-a6c019c98aeab124721984be79bc6ac994f38fb1.zip
[Fix] Fix format string usage
Issue: #4482
-rw-r--r--src/libserver/symcache/symcache_item.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/symcache/symcache_item.cxx b/src/libserver/symcache/symcache_item.cxx
index 258e873ff..b50d4cae4 100644
--- a/src/libserver/symcache/symcache_item.cxx
+++ b/src/libserver/symcache/symcache_item.cxx
@@ -599,7 +599,7 @@ auto item_type_from_c(enum rspamd_symbol_type type) -> tl::expected<std::pair<sy
return check_trivial(SYMBOL_TYPE_VIRTUAL, symcache_item_type::VIRTUAL);
}
- return tl::make_unexpected(fmt::format("internal error: impossible flags combination", type));
+ return tl::make_unexpected(fmt::format("internal error: impossible flags combination: {}", (int)type));
}
/* Maybe check other flags combination here? */