From: Vsevolod Stakhov Date: Sat, 4 Jun 2016 19:12:49 +0000 (+0200) Subject: [Minor] Fix spamc workaround X-Git-Tag: 1.3.0~406 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c8bc6be028234a19693f9e59c98fa88d19a300df;p=rspamd.git [Minor] Fix spamc workaround --- diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index c26889628..5c542105e 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1167,7 +1167,7 @@ proxy_client_finish_handler (struct rspamd_http_connection *conn, rspamd_http_connection_reset (session->client_conn); /* Reset spamc legacy */ - if (msg->method >= HTTP_CHECK) { + if (msg->method >= HTTP_SYMBOLS) { msg->method = HTTP_GET; session->is_spamc = TRUE; msg_info_session ("enabling legacy rspamc mode for session");