aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/url.c')
-rw-r--r--src/libserver/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 75b173c44..acddc464f 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -1240,7 +1240,7 @@ rspamd_url_is_ip (struct rspamd_url *uri, rspamd_mempool_t *pool)
* Here we count number of octets encoded in this element
*/
for (i = 0; i < 4; i++) {
- if ((t >> 8 * i) > 0) {
+ if ((t >> (8 * i)) > 0) {
nshift += 8;
}
else {