diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-22 23:39:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-22 23:39:49 +0000 |
commit | 4394fa14de48cf7000cd89d87f1b7829616ee7df (patch) | |
tree | 859f59cb1982d0cee6d78df48482872d33504d53 /src/libserver/url.c | |
parent | 2b0e6f4d0e0582006c172867df93121755201e66 (diff) | |
download | rspamd-4394fa14de48cf7000cd89d87f1b7829616ee7df.tar.gz rspamd-4394fa14de48cf7000cd89d87f1b7829616ee7df.zip |
Fix some more issues found by coverity
Diffstat (limited to 'src/libserver/url.c')
-rw-r--r-- | src/libserver/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c index b756b1ca4..fcb72a76b 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -1225,7 +1225,7 @@ rspamd_url_is_ip (struct rspamd_url *uri, rspamd_mempool_t *pool) t = GUINT32_TO_BE (t); break; case 3: - t = (GUINT32_TO_BE (t & 0xFFFFFFU) >> 8); + t = (GUINT32_TO_BE (t & 0xFFFFFFU)) >> 8; break; case 2: t = GUINT16_TO_BE (t & 0xFFFFU); |