From 7b0adbef697923b3dd6b3df946fcbf959e7a7a50 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Fri, 22 Oct 2010 10:38:09 +0000 Subject: [PATCH] --- lsyncd.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lsyncd.c b/lsyncd.c index 951f9e5..bffa300 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -929,11 +929,13 @@ main(int argc, char *argv[]) lua_setglobal(L, "lysncd"); /* register event types */ - lua_pushinteger(L, ATTRIB); lua_setglobal(L, "ATTRIB"); - lua_pushinteger(L, MODIFY); lua_setglobal(L, "MODIFY"); - lua_pushinteger(L, CREATE); lua_setglobal(L, "CREATE"); - lua_pushinteger(L, DELETE); lua_setglobal(L, "DELETE"); - lua_pushinteger(L, MOVE); lua_setglobal(L, "MOVE"); + lua_pushinteger(L, ATTRIB); lua_setglobal(L, "ATTRIB"); + lua_pushinteger(L, MODIFY); lua_setglobal(L, "MODIFY"); + lua_pushinteger(L, CREATE); lua_setglobal(L, "CREATE"); + lua_pushinteger(L, DELETE); lua_setglobal(L, "DELETE"); + lua_pushinteger(L, MOVE); lua_setglobal(L, "MOVE"); + lua_pushinteger(L, MOVEFROM); lua_setglobal(L, "MOVEFROM"); + lua_pushinteger(L, MOVETO); lua_setglobal(L, "MOVETO"); /* register log levels */ lua_pushinteger(L, DEBUG); lua_setglobal(L, "DEBUG");