From a559b91496e3a2e03722581bd4c67be81daa0b46 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 2 Apr 2015 15:02:55 +0100 Subject: [PATCH] Fix warnings. Conflicts: src/libserver/spf.c src/libstat/backends/mmaped_file.c src/libutil/expression.c --- src/lua/lua_task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 29ef7a051..5c1a560f6 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1239,7 +1239,7 @@ lua_task_get_queue_id (lua_State *L) { struct rspamd_task *task = lua_check_task (L, 1); - if (task && task->queue_id != NULL && task->queue_id != "undef") { + if (task && task->queue_id != NULL && strcmp (task->queue_id, "undef") != 0) { lua_pushstring (L, task->queue_id); return 1; } -- 2.39.5