]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Do not split on `.`
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 22 Jan 2023 13:05:51 +0000 (13:05 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 22 Jan 2023 13:05:51 +0000 (13:05 +0000)
src/client/rspamc.cxx

index c725dcd9007082a9306b6149a466fb4936a91326..5a8cb0d40d27b02b7e2e6e9e14112f964a54a08a 100644 (file)
@@ -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(); ) {