aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-24 16:07:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-24 16:07:50 +0100
commita7de52f40cc625c6f0e714f889dfddabc2968269 (patch)
treea2e2ed3db40dc2b00654fa171bcbc5ef6ab9a466 /src
parent4a2744818cfe0ad9ba2a86dd48c91c2cfa0b0fe5 (diff)
downloadrspamd-a7de52f40cc625c6f0e714f889dfddabc2968269.tar.gz
rspamd-a7de52f40cc625c6f0e714f889dfddabc2968269.zip
[Minor] Propagate fuzzy server error to a client
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 76a443f88..595df53fc 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1789,7 +1789,7 @@ fuzzy_controller_io_callback (gint fd, short what, void *arg)
if (*(session->err) == NULL) {
g_set_error (session->err,
g_quark_from_static_string ("fuzzy check"),
- EINVAL, "process fuzzy error");
+ rep->value, "process fuzzy error");
}
ret = return_finished;
}