setup mptp headers and types

This commit is contained in:
ngn
2024-06-21 01:36:56 +03:00
parent 637b8c02e6
commit 82cbd147b2
15 changed files with 266 additions and 151 deletions

View File

@ -5,7 +5,7 @@
int main(int argc, char *argv[]) {
int ret = EXIT_FAILURE;
if(argc != 2){
if (argc != 2) {
printf("usage: %s <pool url>\n", argv[0]);
return ret;
}
@ -15,7 +15,7 @@ int main(int argc, char *argv[]) {
ctx.debug = true;
if(!lm_ctx_pool_add(&ctx, "test", argv[1])){
if (!lm_ctx_pool_add(&ctx, "test", argv[1])) {
printf("failed to add pool: %s (%d)\n", lm_strerror(), lm_error());
goto end;
}