lua plugin: Use "lua_pcall" to call read callbacks.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 28 Nov 2010 14:23:34 +0000 (15:23 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 28 Nov 2010 14:23:34 +0000 (15:23 +0100)
commitcea24c89f6d700656faeff45afd993bac7749d8f
treef21eac2c7b4d663c9d6a54e70ee5e48dfa23ab62
parent48bac13720037c05719ae47c05fc7a20209c64fb
lua plugin: Use "lua_pcall" to call read callbacks.

Otherwise an error in the Lua script will abort() the entire daemon.
The returned error message is handled correctly, too.
src/lua.c