aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-17 21:35:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-17 21:35:30 +0100
commite00abd7047b660372eebd9f30aa28ed8366493d6 (patch)
treebfe3eea54ce33eb3a27e5178f923e1ee1154a5c2 /src/libserver/protocol.c
parentb7146906059d461da0e739978c559cefc3afe371 (diff)
downloadrspamd-e00abd7047b660372eebd9f30aa28ed8366493d6.tar.gz
rspamd-e00abd7047b660372eebd9f30aa28ed8366493d6.zip
[Minor] Fix some dead ends
Found by: coverity scan
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index 6e97068a6..654f16113 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -1093,6 +1093,7 @@ rspamd_protocol_rewrite_subject (struct rspamd_task *task)
g_string_append_c (subj_buf, '%');
c = p + 2;
p += 2;
+ break;
default:
p ++; /* Just % something unknown */
break;