aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-12 14:54:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-12 14:54:24 +0100
commit8d1a7494b62d2174aee506b2c939dbea0f20be02 (patch)
treea80a9b8f5ac94d41516735df1117c0a569d542da
parentdb4ef545172db3417684695df1ecca3de001c93f (diff)
downloadrspamd-8d1a7494b62d2174aee506b2c939dbea0f20be02.tar.gz
rspamd-8d1a7494b62d2174aee506b2c939dbea0f20be02.zip
[Minor] Add loop break
-rw-r--r--src/libserver/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 8a33b4915..1fad034f5 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -1136,6 +1136,7 @@ rspamd_web_parse (struct http_parser_url *u, const gchar *str, gsize len,
}
else if (*tp == '/' || *tp == '#' || *tp == '?') {
st = parse_domain_start;
+ break;
}
tp ++;