From b1a45a3be72966ce16718938d07fc1613b19ab10 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Mon, 1 Oct 2012 19:51:30 +0200 Subject: [PATCH] Fix typo in name of Lua global table lysncd->lsyncd This ports commit 8686c1838e3857280c850c42f8c59379e07e9c5e to fix/lua52 --- lsyncd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lsyncd.c b/lsyncd.c index 90ae991..239e786 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -1379,7 +1379,7 @@ void register_lsyncd(lua_State *L) { luaL_newlib(L, lsyncdlib); - lua_setglobal(L, "lysncd"); + lua_setglobal(L, "lsyncd"); // creates the metatable for jiffies userdata luaL_newmetatable(L, "Lsyncd.jiffies"); @@ -1404,7 +1404,7 @@ register_lsyncd(lua_State *L) lua_settable(L, -3); lua_pop(L, 1); - lua_getglobal(L, "lysncd"); + lua_getglobal(L, "lsyncd"); #ifdef LSYNCD_WITH_INOTIFY // TODO why is the here? register_inotify(L); -- 1.7.12