Software /
code /
prosody
Diff
util-src/signal.c @ 6412:0e94f89d0e62
util-src/*.c: Use the more concise lua_setfield
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 17 Sep 2014 02:23:17 +0200 |
parent | 6411:6c8f6364bc48 |
child | 6413:a552f4170aed |
line wrap: on
line diff
--- a/util-src/signal.c Tue Sep 16 21:56:18 2014 +0200 +++ b/util-src/signal.c Wed Sep 17 02:23:17 2014 +0200 @@ -391,7 +391,7 @@ /* put the signals inside the library table too, * they are only a reference */ lua_pushstring(L, LUA_SIGNAL); - lua_createtable(L, 0, 0); + lua_newtable(L); while (lua_signals[i].name != NULL) {