aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-25 14:21:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-25 14:21:27 +0100
commitb91ac118ac9d3845d8ad355c0a1c8b298a1a4380 (patch)
tree6a63695a0520f09ddfad045e6b80fe8ce45fa04b /src
parente1dba059e14afd5c0995d4fb96a2ac7a284d7c93 (diff)
downloadrspamd-b91ac118ac9d3845d8ad355c0a1c8b298a1a4380.tar.gz
rspamd-b91ac118ac9d3845d8ad355c0a1c8b298a1a4380.zip
[Minor] Fix error callback invocation
Diffstat (limited to 'src')
-rw-r--r--src/rspamadm/commands.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rspamadm/commands.c b/src/rspamadm/commands.c
index 81aafcdc9..5b0b4bb5a 100644
--- a/src/rspamadm/commands.c
+++ b/src/rspamadm/commands.c
@@ -91,9 +91,7 @@ rspamadm_fill_internal_commands (GPtrArray *dest)
static void
lua_thread_str_error_cb (struct thread_entry *thread, int ret, const char *msg)
{
- const struct rspamadm_command *cmd = thread->cd;
-
- msg_err ("call to rspamadm lua script %s failed (%d): %s", cmd->name,
+ msg_err ("call to rspamadm lua script failed (%d): %s",
ret, msg);
}