From ab91344b5f1bb31ee5a5e510558442166d7350a1 Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 8 Aug 2024 15:43:17 +0300 Subject: [PATCH] update: add signal handler to serve funtion --- 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 f48cee3..32a940e 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-07 01:48+0300\n" +"POT-Creation-Date: 2024-08-08 15:42+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 4b9a26a..9cf634a 100644 --- a/src/main.c +++ b/src/main.c @@ -178,7 +178,7 @@ int main(int argc, char *argv[]) { info(pool_count == 1 ? _("Serving %lu pool on %s") : _("Serving %lu pools on %s"), pool_count, addr); - if (!lm_ctx_serve(&ctx, addr, config_get_integer("threads"), serve_callback, NULL)) { + if (!lm_ctx_serve(&ctx, addr, config_get_integer("threads"), NULL, serve_callback, NULL)) { error(_("Failed to start the server: %s"), lm_strerror()); goto end_ctx; }