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

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-04 14:44+0300\n"
"POT-Creation-Date: 2024-08-04 15:26+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

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) {