diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-10 16:59:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-10 16:59:21 +0100 |
commit | 08c9156f20fe9700913f5b97e6199b396ed6a87f (patch) | |
tree | af21ea2d626caddb6c0e6f4b50e16a21dfb2b2f8 /util-src/crand.c | |
parent | b0eec64a3f56ee4020f2d328e6d51a07f45cab53 (diff) | |
parent | 384687ffa49ac61dddb91be1ec5de1572ba2c036 (diff) | |
download | prosody-08c9156f20fe9700913f5b97e6199b396ed6a87f.tar.gz prosody-08c9156f20fe9700913f5b97e6199b396ed6a87f.zip |
Merge 0.10->trunk
Diffstat (limited to 'util-src/crand.c')
-rw-r--r-- | util-src/crand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/crand.c b/util-src/crand.c index ef9da4d2..d4b84327 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -100,7 +100,7 @@ int luaopen_util_crand(lua_State *L) { luaL_checkversion(L); #endif - lua_newtable(L); + lua_createtable(L, 0, 2); lua_pushcfunction(L, Lrandom); lua_setfield(L, -2, "bytes"); |