diff options
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index fe6816eb6..46cca8eb1 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -583,7 +583,9 @@ lua_task_push_header (lua_State * L, gint i = 1; const gchar *val; - lua_newtable (L); + if (full) { + lua_newtable (L); + } rh = g_hash_table_lookup (task->raw_headers, name); if (rh == NULL) { |