From 91b8f827e311b36959e26db5f2ca242e5cedd4d7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 5 Mar 2011 16:53:44 +0300 Subject: [PATCH] Assume headers folding as space character. --- src/lua/lua_task.c | 1 - src/message.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 ++; -- 2.39.5