commit 118b5de: [Minor] Fix spaces state in newlines removal SM

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Aug 9 11:14:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-08-09 12:09:46 +0100
URL: https://github.com/rspamd/rspamd/commit/118b5de7b9c88f91108c710b9f298c88ac9f7754 (HEAD -> master)

[Minor] Fix spaces state in newlines removal SM

---
 src/libmime/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libmime/message.c b/src/libmime/message.c
index 760518d4f..532667e5d 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -445,7 +445,7 @@ rspamd_strip_newlines_parse (struct rspamd_task *task,
 				}
 
 				state = normal_char;
-				break;
+				continue;
 			}
 
 			p ++;


More information about the Commits mailing list