summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-05 16:53:44 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-05 16:53:44 +0300
commit91b8f827e311b36959e26db5f2ca242e5cedd4d7 (patch)
tree463f44fbdcc851ed0e55d81d05ded38c3aaca0eb
parentde9ac8f1938e09f3c6c3d6f261db4749b3b9ff01 (diff)
downloadrspamd-91b8f827e311b36959e26db5f2ca242e5cedd4d7.tar.gz
rspamd-91b8f827e311b36959e26db5f2ca242e5cedd4d7.zip
Assume headers folding as space character.
-rw-r--r--src/lua/lua_task.c1
-rw-r--r--src/message.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 4a40008f3..3d1e240cb 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -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);
}
diff --git a/src/message.c b/src/message.c
index 80711b791..78094b32b 100644
--- a/src/message.c
+++ b/src/message.c
@@ -570,6 +570,7 @@ process_raw_headers (struct worker_task *task)
if (*c == '\n' || *c == '\r') {
t_state = 1;
c ++;
+ *tp ++ = ' ';
}
else {
*tp ++ = *c ++;