aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-16 13:44:35 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-16 13:44:35 +0000
commit3256178a2433f242f69c55f6eaee36ea314b2f1a (patch)
tree69323a953a69d4d62c9c57e695c6f84ac9527bb8 /src/libutil/util.c
parent5c25ee027e883ea5251958ecee14ea5fc3e68946 (diff)
downloadrspamd-3256178a2433f242f69c55f6eaee36ea314b2f1a.tar.gz
rspamd-3256178a2433f242f69c55f6eaee36ea314b2f1a.zip
Fix couple of issues found by gcc-6
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r--src/libutil/util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index 0023a9ba1..1d5f49a61 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -1153,12 +1153,6 @@ resolve_stat_filename (rspamd_mempool_t * pool,
s += rcptlen;
continue;
}
- else if (*c == '%' && *(c + 1) == 'r') {
- c += 2;
- memcpy (s, from, fromlen);
- s += fromlen;
- continue;
- }
*s++ = *c;
}