aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:48:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:48:52 +0000
commitf90765d9c840b17ad68fe2f422807f70ab08ae41 (patch)
tree020754186cfa2710a0d04524fac12ac87dc39bd4 /src
parent19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8 (diff)
downloadrspamd-f90765d9c840b17ad68fe2f422807f70ab08ae41.tar.gz
rspamd-f90765d9c840b17ad68fe2f422807f70ab08ae41.zip
[Minor] Oops, fix refactoring aftermath
Diffstat (limited to 'src')
-rw-r--r--src/libserver/protocol.c2
-rw-r--r--src/libstat/backends/redis_backend.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index f09ec0b67..489bba6dd 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -805,7 +805,7 @@ rspamd_protocol_control_parser_init (void)
rspamd_rcl_add_default_handler (sub,
"user",
rspamd_rcl_parse_struct_string,
- G_STRUCT_OFFSET (struct rspamd_task, user),
+ G_STRUCT_OFFSET (struct rspamd_task, auth_user),
0,
NULL);
rspamd_rcl_add_default_handler (sub,
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c
index 8536b80e3..c58f1e682 100644
--- a/src/libstat/backends/redis_backend.c
+++ b/src/libstat/backends/redis_backend.c
@@ -208,7 +208,7 @@ rspamd_redis_expand_object (const gchar *pattern,
state = just_char;
break;
case 'u':
- elt = GET_TASK_ELT (task, user);
+ elt = GET_TASK_ELT (task, auth_user);
if (elt) {
tlen += strlen (elt);
}
@@ -299,7 +299,7 @@ rspamd_redis_expand_object (const gchar *pattern,
state = just_char;
break;
case 'u':
- elt = GET_TASK_ELT (task, user);
+ elt = GET_TASK_ELT (task, auth_user);
if (elt) {
d += rspamd_strlcpy (d, elt, end - d);
}