aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_url.c')
-rw-r--r--src/lua/lua_url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c
index ad77fcde2..2fd34664b 100644
--- a/src/lua/lua_url.c
+++ b/src/lua/lua_url.c
@@ -376,7 +376,7 @@ lua_url_to_table (lua_State *L)
if (url != NULL) {
u = url->url;
- lua_newtable (L);
+ lua_createtable (L, 0, 12);
lua_pushstring (L, "url");
lua_pushlstring (L, u->string, u->urllen);
lua_settable (L, -3);