update: handle actual package updates outside of the library

This commit is contained in:
ngn
2024-07-18 19:25:35 +03:00
parent 17d572add0
commit bc79c642ac
7 changed files with 60 additions and 52 deletions

View File

@ -28,7 +28,7 @@ int main(int argc, char *argv[]) {
lm_ctx_sync(&ctx, false, NULL, NULL);
if (!lm_ctx_serve(&ctx, argv[1], 10)) {
if (!lm_ctx_serve(&ctx, argv[1], 10, NULL, NULL)) {
printf("failed to serve the pools: %s (%d)\n", lm_strerror(), lm_error());
goto end;
}