From 773e3f9ac6f62d78b079ff5dee1c2cb9dea5ba66 Mon Sep 17 00:00:00 2001 From: ngn Date: Sun, 4 Aug 2024 15:26:31 +0300 Subject: [PATCH] update: make things work with libmp update --- locale/tr/LC_MESSAGES/pooler.po | 2 +- src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locale/tr/LC_MESSAGES/pooler.po b/locale/tr/LC_MESSAGES/pooler.po index c2e9775..c83470a 100644 --- a/locale/tr/LC_MESSAGES/pooler.po +++ b/locale/tr/LC_MESSAGES/pooler.po @@ -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 \n" "Language-Team: LANGUAGE \n" diff --git a/src/main.c b/src/main.c index a7d80e7..6fe8c00 100644 --- a/src/main.c +++ b/src/main.c @@ -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) {