From 3d065fccba86f7622f15ca1e89f22bca558b27c9 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Mon, 1 Oct 2012 19:45:21 +0200 Subject: [PATCH] Fix typo in name of Lua global table lysncd->lsyncd --- lsyncd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lsyncd.c b/lsyncd.c index 5433fd7..fa7813c 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -1369,7 +1369,7 @@ void register_lsyncd(lua_State *L) { luaL_register(L, "lsyncd", lsyncdlib); - lua_setglobal(L, "lysncd"); + lua_setglobal(L, "lsyncd"); // creates the metatable for jiffies userdata luaL_newmetatable(L, "Lsyncd.jiffies"); @@ -1394,7 +1394,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);