aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamadm/commands.c')
-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);
}