diff --git a/lsyncd.c b/lsyncd.c index c3c3420..a84aed9 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -448,7 +448,7 @@ printlogf0(lua_State *L, /* | Print a traceback of the error */ -static int traceback (lua_State *L) { +static int l_traceback (lua_State *L) { lua_getglobal(L, "debug"); lua_getfield(L, -1, "traceback"); lua_pushvalue(L, 1); @@ -2920,7 +2920,7 @@ main1( int argc, char *argv[] ) lsyncd_config_file, lua_tostring( L, -1 ) ); - traceback(L); + l_traceback(L); exit( -1 ); } diff --git a/lsyncd.lua b/lsyncd.lua index d0f7403..32dd250 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -4020,7 +4020,6 @@ end function replaceCommand(cmd, data) assert(type(data) == "table") local getData = function(arg) - print(arg, data) local rv = data[arg] if rv ~= nil then return rv