commit eb65623: [Minor] Sigh, one more adjustment

Vsevolod Stakhov vsevolod at highsecure.ru
Wed May 5 15:21:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-05-05 16:18:39 +0100
URL: https://github.com/rspamd/rspamd/commit/eb65623969793f985b9f4757e756a32deec7e7ac (HEAD -> master)

[Minor] Sigh, one more adjustment

---
 src/libserver/css/css_tokeniser.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/css/css_tokeniser.cxx b/src/libserver/css/css_tokeniser.cxx
index 3035a6649..5b0a0c086 100644
--- a/src/libserver/css/css_tokeniser.cxx
+++ b/src/libserver/css/css_tokeniser.cxx
@@ -534,7 +534,7 @@ auto css_tokeniser::next_token(void) -> struct css_parser_token
 		case '\v': {
 			/* Consume as much space as we can */
 			while (i < input.size() && g_ascii_isspace(c)) {
-				c = input[++i];
+				c = input[i++];
 			}
 
 			auto ret = make_token<css_parser_token::token_type::whitespace_token>(


More information about the Commits mailing list