commit be93d9a: [Minor] Do not split on `.`

Vsevolod Stakhov vsevolod at rspamd.com
Sun Jan 22 13:07:04 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-01-22 13:05:51 +0000
URL: https://github.com/rspamd/rspamd/commit/be93d9a1a230103bfa3ef186bfb27987acd2b209 (HEAD -> master)

[Minor] Do not split on `.`

---
 src/client/rspamc.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client/rspamc.cxx b/src/client/rspamc.cxx
index c725dcd90..5a8cb0d40 100644
--- a/src/client/rspamc.cxx
+++ b/src/client/rspamc.cxx
@@ -834,7 +834,7 @@ rspamc_print_indented_line(FILE *out, std::string_view line) -> void
 	using namespace std::literals;
 
 	constexpr const auto whitespace = " \f\n\r\t\v"sv;
-	constexpr const auto break_begin = " \f\n\r\t\v?.,;\"'<({[~!@#$%^&*+:-_=/\\|"sv;
+	constexpr const auto break_begin = " \f\n\r\t\v?,;\"'<({[~!@#$%^&*+:-=/\\|"sv;
 	constexpr const auto break_end = " \f\n\r\t\v?.,;\"']})>~!@#$%^&*+:-_=/\\|"sv;
 
 	for (size_t pos = 0; pos < line.size(); ) {


More information about the Commits mailing list