commit 6c2d6e7: [Minor] Oops, fix misprint

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 5 11:28:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-08-05 12:22:20 +0100
URL: https://github.com/rspamd/rspamd/commit/6c2d6e771a1f3078863938ac63e597d22c16c55d

[Minor] Oops, fix misprint

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

diff --git a/src/libserver/html/html_url.cxx b/src/libserver/html/html_url.cxx
index e41e75661..781b4bb59 100644
--- a/src/libserver/html/html_url.cxx
+++ b/src/libserver/html/html_url.cxx
@@ -152,7 +152,7 @@ html_url_is_phished(rspamd_mempool_t *pool,
 			 * We have some url at some offset, so we need to check what is
 			 * at the start of the text
 			 */
-			for (const auto p : text_data)
+			for (const auto p : text_data) {
 				if (!g_ascii_isspace(p)) {
 					return std::nullopt;
 				}


More information about the Commits mailing list