aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-01-22 13:05:51 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-01-22 13:05:51 +0000
commitbe93d9a1a230103bfa3ef186bfb27987acd2b209 (patch)
tree4b7b86dab391e1b15c6f9e95109292ea34e6b113
parent0128db9e5cb057c34adaad7c25619107104707e0 (diff)
downloadrspamd-be93d9a1a230103bfa3ef186bfb27987acd2b209.tar.gz
rspamd-be93d9a1a230103bfa3ef186bfb27987acd2b209.zip
[Minor] Do not split on `.`
-rw-r--r--src/client/rspamc.cxx2
1 files changed, 1 insertions, 1 deletions
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(); ) {