X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flua.c;h=45fd7d5a36fab1a76a8dd524ba56aad4ee0b0602;hb=dc57f6e8f2394b51dd35d1d8231ef110c075b831;hp=cf6dadcc28729c82caaa9eaf3f3ae52ad9952e81;hpb=5cd5988ec752f441254fc887117c3d5aa8f8d094;p=collectd.git diff --git a/src/lua.c b/src/lua.c index cf6dadcc..45fd7d5a 100644 --- a/src/lua.c +++ b/src/lua.c @@ -307,7 +307,7 @@ static int lua_cb_register_read(lua_State *L) /* {{{ */ /* name = */ function_name, /* callback = */ clua_read, /* interval = */ 0, - /* user_data = */ &(user_data_t) { + &(user_data_t) { .data = cb, }); @@ -349,7 +349,7 @@ static int lua_cb_register_write(lua_State *L) /* {{{ */ int status = plugin_register_write(/* name = */ function_name, /* callback = */ clua_write, - /* user_data = */ &(user_data_t) { + &(user_data_t) { .data = cb, }); @@ -543,7 +543,7 @@ static int lua_config_script(const oconfig_item_t *ci) /* {{{ */ if (status != 0) return (status); - INFO("Lua plugin: File \"%s\" loaded succesfully", abs_path); + INFO("Lua plugin: File \"%s\" loaded successfully", abs_path); return 0; } /* }}} int lua_config_script */