]> source.dussan.org Git - rspamd.git/commitdiff
Assume headers folding as space character.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Sat, 5 Mar 2011 13:53:44 +0000 (16:53 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Sat, 5 Mar 2011 13:53:44 +0000 (16:53 +0300)
src/lua/lua_task.c
src/message.c

index 4a40008f325ade3521784162bc2472fab23ee130..3d1e240cbbdfa82ee55988a21f81f2dd412f31e4 100644 (file)
@@ -720,7 +720,6 @@ lua_push_internet_address (lua_State *L, InternetAddressList *addrs)
                lua_newtable (L);
                lua_set_table_index (L, "name", internet_address_get_name (ia));
                lua_set_table_index (L, "addr", internet_address_get_addr (ia));
-               msg_info ("name: %s, addr: %s", internet_address_get_name (ia), internet_address_get_addr (ia));
                lua_rawseti (L, -2, idx++);
                cur = internet_address_list_next (cur);
        }
index 80711b79178ae71fc70e3e46d08280199df65efb..78094b32b48260a75ac19a6af819401031df1634 100644 (file)
@@ -570,6 +570,7 @@ process_raw_headers (struct worker_task *task)
                                        if (*c == '\n' || *c == '\r') {
                                                t_state = 1;
                                                c ++;
+                                               *tp ++ = ' ';
                                        }
                                        else {
                                                *tp ++ = *c ++;