aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-07 16:02:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-07 16:02:01 +0100
commit65a811fb43b0d0e3557e53c9cf18131e20ba5456 (patch)
tree20f3b694f72c32904d220eb15c622a015d7d695c /src/client
parentfcd2daa1c3d0613f6adb9bbb3f7cccac8318cf50 (diff)
downloadrspamd-65a811fb43b0d0e3557e53c9cf18131e20ba5456.tar.gz
rspamd-65a811fb43b0d0e3557e53c9cf18131e20ba5456.zip
[Fix] More fixes to end of headers detection
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 592971b73..b8cec9e67 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -1045,7 +1045,7 @@ rspamc_mime_output (FILE *out, ucl_object_t *result, GString *input,
gboolean is_spam = FALSE;
gchar *json_header, *json_header_encoded, *sc;
- headers_pos = rspamd_string_find_eoh (input);
+ headers_pos = rspamd_string_find_eoh (input, NULL);
if (headers_pos == -1) {
rspamd_fprintf (stderr,"cannot find end of headers position");