aboutsummaryrefslogtreecommitdiff
path: root/lib/resty
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resty')
-rw-r--r--lib/resty/cookie.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resty/cookie.lua b/lib/resty/cookie.lua
index 96c43fc..ce4b7f4 100644
--- a/lib/resty/cookie.lua
+++ b/lib/resty/cookie.lua
@@ -47,7 +47,7 @@ local function get_cookie_table(text_cookie)
end
end
- local cookie_table = new_tab(n + 1)
+ local cookie_table = new_tab(0, n + 1)
local state = EXPECT_SP
local i = 1