update: make things work with libmp update

This commit is contained in:
ngn
2024-08-04 15:26:31 +03:00
parent 6ddbb6f99a
commit 773e3f9ac6
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ int main(int argc, char *argv[]) {
goto end_config;
}
lm_ctx_init(&ctx, NULL, tmpdir, NULL);
lm_ctx_new(&ctx, NULL, tmpdir, NULL);
addr = config_get_string("addr");
if (config_get_integer("threads") <= 0 || config_get_integer("threads") > 1000) {