aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-04 19:56:13 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-04 19:56:13 +0300
commit9ec83e20dcb4dd417f65ccf573a6c5de1bc20978 (patch)
tree989156b70c27d350228c923c5545628860fe73d6
parent4c653d32a0d9d1a36c4638db15cecb7e526e4449 (diff)
downloadrspamd-9ec83e20dcb4dd417f65ccf573a6c5de1bc20978.tar.gz
rspamd-9ec83e20dcb4dd417f65ccf573a6c5de1bc20978.zip
Fix misprint.
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 6552b703e..887810eb6 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -827,7 +827,7 @@ lua_task_get_from (lua_State *L)
#else
addrs = internet_address_list_parse_string (task->from);
#endif
- if (L != NULL) {
+ if (addrs != NULL) {
lua_push_internet_address_list (L, addrs);
#ifndef GMIME24
internet_address_list_destroy (addrs);