diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-02 15:46:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-02 15:53:34 +0100 |
commit | cee0ee2828be1c7e7791fd96401857dca0a60c94 (patch) | |
tree | 0e02843298c3d3b78ad60b38da2650b1e5ba5f54 /src/libserver/protocol.c | |
parent | e469f8928839d794e397796550c5e34ab6c40085 (diff) | |
download | rspamd-cee0ee2828be1c7e7791fd96401857dca0a60c94.tar.gz rspamd-cee0ee2828be1c7e7791fd96401857dca0a60c94.zip |
[Minor] Kill other `rmilter` occurrencies
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 2bfcdd6d1..99e965af1 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -1077,7 +1077,7 @@ rspamd_protocol_write_ucl (struct rspamd_task *task, { ucl_object_t *top = NULL; GString *dkim_sig; - const ucl_object_t *rmilter_reply; + const ucl_object_t *milter_reply; struct rspamd_saved_protocol_reply *cached; static const gchar *varname = RSPAMD_MEMPOOL_CACHED_REPLY; @@ -1180,16 +1180,16 @@ rspamd_protocol_write_ucl (struct rspamd_task *task, } if (flags & RSPAMD_PROTOCOL_RMILTER) { - rmilter_reply = rspamd_mempool_get_variable (task->task_pool, - RSPAMD_MEMPOOL_RMILTER_REPLY); + milter_reply = rspamd_mempool_get_variable (task->task_pool, + RSPAMD_MEMPOOL_MILTER_REPLY); - if (rmilter_reply) { + if (milter_reply) { if (task->cmd == CMD_CHECK_V2) { - ucl_object_insert_key (top, ucl_object_ref (rmilter_reply), + ucl_object_insert_key (top, ucl_object_ref (milter_reply), "milter", 0, false); } else { - ucl_object_insert_key (top, ucl_object_ref (rmilter_reply), + ucl_object_insert_key (top, ucl_object_ref (milter_reply), "rmilter", 0, false); } } |