diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-13 13:18:46 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-13 13:18:46 +0100 |
commit | a6c019c98aeab124721984be79bc6ac994f38fb1 (patch) | |
tree | e227007e91284d9c39dd11c268ccf5e24169a8f7 | |
parent | 6dbeebbaf8f65a40a31414cf8c01161e8d8fefcc (diff) | |
download | rspamd-a6c019c98aeab124721984be79bc6ac994f38fb1.tar.gz rspamd-a6c019c98aeab124721984be79bc6ac994f38fb1.zip |
[Fix] Fix format string usage
Issue: #4482
-rw-r--r-- | src/libserver/symcache/symcache_item.cxx | 2 |
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? */ |