diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-23 20:21:38 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-23 20:21:38 +0300 |
commit | 44d9cd1d59b340e8111ae57dafd06f65734b12d1 (patch) | |
tree | 981154fe56072150f4f31b4f4a7ab288d074eb4a /src/lua/lua_task.c | |
parent | cb34e117a397a6d27734cf3564001bfec97ec0ea (diff) | |
download | rspamd-44d9cd1d59b340e8111ae57dafd06f65734b12d1.tar.gz rspamd-44d9cd1d59b340e8111ae57dafd06f65734b12d1.zip |
Save separator inside raw_header struct.
Requested by: Victor Ustugov
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 16b59efe4..48db4c833 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -358,6 +358,10 @@ lua_task_get_raw_header_common (lua_State * L, gboolean strong) lua_pushstring (L, "tab_separated"); lua_pushboolean (L, rh->tab_separated); lua_settable (L, -3); + lua_pushstring (L, "empty_separator"); + lua_pushboolean (L, rh->empty_separator); + lua_settable (L, -3); + lua_set_table_index (L, "separator", rh->separator); lua_rawseti (L, -2, i++); /* Process next element */ cur = g_list_next (cur); |