]> source.dussan.org Git - rspamd.git/commitdiff
Fix misprint.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 4 Nov 2011 16:56:13 +0000 (19:56 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 4 Nov 2011 16:56:13 +0000 (19:56 +0300)
src/lua/lua_task.c

index 6552b703e3b329336d3b05ebb28d056fa98b294c..887810eb6e409cb385d0b37b213592ab12fc1c1e 100644 (file)
@@ -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);