From ba992d395d0a3c81258dcbaf847d96618c616ef8 Mon Sep 17 00:00:00 2001 From: ngn Date: Sat, 13 Jul 2024 14:11:49 +0300 Subject: [PATCH] fix: return loaded pool count after sync operation --- locale/tr/LC_MESSAGES/libmp.po | 2 +- src/ctx/sync.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locale/tr/LC_MESSAGES/libmp.po b/locale/tr/LC_MESSAGES/libmp.po index e20e5e5..b37b73e 100644 --- a/locale/tr/LC_MESSAGES/libmp.po +++ b/locale/tr/LC_MESSAGES/libmp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-13 14:04+0300\n" +"POT-Creation-Date: 2024-07-13 14:11+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/ctx/sync.c b/src/ctx/sync.c index 57f3f72..222fa5c 100644 --- a/src/ctx/sync.c +++ b/src/ctx/sync.c @@ -113,5 +113,5 @@ size_t lm_ctx_sync(lm_ctx_t *ctx, bool do_update, lm_ctx_sync_callback_t callbac cur = cur->next; } - return true; + return loaded_count; }