}
if (cookie_len > sizeof (padded_cookie) - 1) {
- return luaL_error (L, "cookie is too long %d", (gint)padded_cookie);
+ return luaL_error (L, "cookie is too long %d", (gint)cookie_len);
}
/* Fill nonce */
int_options = parse_config_options(str_options);
}
else {
- msg_err_config ("config_from_ucl: second parameter is expected to be string");
+ msg_err ("config_from_ucl: second parameter is expected to be string");
ucl_object_unref (obj);
lua_pushnil (L);
}
top = rspamd_rcl_config_init (cfg, NULL);
if (!rspamd_rcl_parse (top, cfg, cfg, cfg->cfg_pool, cfg->rcl_obj, &err)) {
- msg_err_config ("rcl parse error: %s", err->message);
+ msg_err ("rcl parse error: %s", err->message);
ucl_object_unref (obj);
lua_pushnil (L);
}