diff options
-rw-r--r-- | src/libserver/milter.c | 6 | ||||
-rw-r--r-- | src/libserver/milter.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libserver/milter.c b/src/libserver/milter.c index fcdbcae6c..372359258 100644 --- a/src/libserver/milter.c +++ b/src/libserver/milter.c @@ -1138,8 +1138,8 @@ rspamd_milter_handle_socket (gint fd, const struct timeval *tv, gboolean rspamd_milter_set_reply (struct rspamd_milter_session *session, - rspamd_fstring_t *xcode, rspamd_fstring_t *rcode, + rspamd_fstring_t *xcode, rspamd_fstring_t *reply) { GString *buf; @@ -1935,7 +1935,7 @@ rspamd_milter_send_task_results (struct rspamd_milter_session *session, } } - rspamd_milter_set_reply (session, xcode, rcode, reply); + rspamd_milter_set_reply (session, rcode, xcode, reply); } break; case METRIC_ACTION_SOFT_REJECT: @@ -1949,7 +1949,7 @@ rspamd_milter_send_task_results (struct rspamd_milter_session *session, sizeof (RSPAMD_MILTER_TEMPFAIL_MESSAGE) - 1); } - rspamd_milter_set_reply (session, xcode, rcode, reply); + rspamd_milter_set_reply (session, rcode, xcode, reply); break; case METRIC_ACTION_REWRITE_SUBJECT: diff --git a/src/libserver/milter.h b/src/libserver/milter.h index 7f375b018..10bf34d52 100644 --- a/src/libserver/milter.h +++ b/src/libserver/milter.h @@ -98,14 +98,14 @@ void * rspamd_milter_update_userdata (struct rspamd_milter_session *session, /** * Sets SMTP reply string * @param session - * @param xcode * @param rcode + * @param xcode * @param reply * @return */ gboolean rspamd_milter_set_reply (struct rspamd_milter_session *session, - rspamd_fstring_t *xcode, rspamd_fstring_t *rcode, + rspamd_fstring_t *xcode, rspamd_fstring_t *reply); /** |