aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-28 13:46:42 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-28 13:46:42 +0000
commitde9a56dfb1ebd0fa05216e5ef566393c4bc40b9c (patch)
tree94ef0c973f080f69554e0d944ba8a9e15f52f2c0 /src/libutil/str_util.c
parent495c0241e10ea5dbb00c7d38020923802cf80d6b (diff)
downloadrspamd-de9a56dfb1ebd0fa05216e5ef566393c4bc40b9c.tar.gz
rspamd-de9a56dfb1ebd0fa05216e5ef566393c4bc40b9c.zip
Start to fix url decoding shifting
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r--src/libutil/str_util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c
index c4b0ea173..64e02955e 100644
--- a/src/libutil/str_util.c
+++ b/src/libutil/str_util.c
@@ -856,8 +856,6 @@ rspamd_decode_url (gchar *dst, const gchar *src, gsize size)
}
}
- *d = '\0';
-
return (d - dst);
}
#define MIN3(a, b, c) ((a) < (b) ? ((a) < (c) ? (a) : (c)) : ((b) < (c) ? (b) : (c)))