aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/roll_history.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:04:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:04:26 +0000
commit19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8 (patch)
treee313a5356d64b095960bca6ccd569a99180ae5b2 /src/libserver/roll_history.c
parent22db618165cfb1ee0f3ff808fd27603c55cf9234 (diff)
downloadrspamd-19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8.tar.gz
rspamd-19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8.zip
[Minor] Fix a name and the description of bogus `user` field in the task
Diffstat (limited to 'src/libserver/roll_history.c')
-rw-r--r--src/libserver/roll_history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c
index a8c1c42a9..45b847923 100644
--- a/src/libserver/roll_history.c
+++ b/src/libserver/roll_history.c
@@ -144,8 +144,8 @@ rspamd_roll_history_update (struct roll_history *history,
rspamd_strlcpy (row->message_id, MESSAGE_FIELD (task, message_id),
sizeof (row->message_id));
}
- if (task->user) {
- rspamd_strlcpy (row->user, task->user, sizeof (row->user));
+ if (task->auth_user) {
+ rspamd_strlcpy (row->user, task->auth_user, sizeof (row->user));
}
else {
row->user[0] = '\0';