aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.c
diff options
context:
space:
mode:
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)))