Browse Source

Merge pull request #257 from fatalbanana/rspamd-0.8

Rspamd 0.8: Fix task:get_queue_id()
rspamd-0.8
Vsevolod Stakhov 9 years ago
parent
commit
f5e29b134d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/lua/lua_task.c

+ 1
- 1
src/lua/lua_task.c View File

@@ -1237,7 +1237,7 @@ lua_task_get_received_headers (lua_State * L)
static gint
lua_task_get_queue_id (lua_State *L)
{
struct rspamd_task *task = lua_check_task (L, 1);
struct rspamd_task *task = lua_check_task (L);

if (task && task->queue_id != NULL && strcmp (task->queue_id, "undef") != 0) {
lua_pushstring (L, task->queue_id);

Loading…
Cancel
Save