Browse Source

[Minor] Fix error callback invocation

tags/1.8.2
Vsevolod Stakhov 5 years ago
parent
commit
b91ac118ac
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/rspamadm/commands.c

+ 1
- 3
src/rspamadm/commands.c View File

@@ -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);
}


Loading…
Cancel
Save