This commit is contained in:
Axel Kittenberger 2010-11-02 14:13:45 +00:00
parent 542bcfa916
commit 20f24018dc
2 changed files with 3 additions and 3 deletions

View File

@ -934,7 +934,7 @@ void handle_event(lua_State *L, struct inotify_event *event) {
}
/* and hands over to runner */
lua_getglobal(L, "lsyncd_event");
lua_getglobal(L, "lsyncd_inotify_event");
switch(event_type) {
case ATTRIB : lua_pushstring(L, "Attrib"); break;
case MODIFY : lua_pushstring(L, "Modify"); break;

View File

@ -264,7 +264,7 @@ function Origin.delay(origin, ename, time, pathname, pathname2)
-- events cancel each other
log(NORMAL, "Nullfication: " ..newd.ename.." after "..
oldd.ename.." on "..pathname)
oldd.ename = "none"
oldd.ename = "None"
return
elseif col == 0 then
-- events tack
@ -713,7 +713,7 @@ end
-- @param filename string filename without path
-- @param filename2
--
function lsyncd_event(ename, wd, isdir, time, filename, filename2)
function lsyncd_inotify_event(ename, wd, isdir, time, filename, filename2)
local ftype;
if isdir then
ftype = "directory"