Mercurial > hg > sidinfo
comparison sidutil.c @ 355:9924d4518932
Adjust to th-libs ioctx API change.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Jan 2020 13:06:02 +0200 |
parents | a6153837c138 |
children | 811eb6c6695e |
comparison
equal
deleted
inserted
replaced
354:0e818307e90b | 355:9924d4518932 |
---|---|
381 th_error_str(res)); | 381 th_error_str(res)); |
382 goto out; | 382 goto out; |
383 } | 383 } |
384 | 384 |
385 out: | 385 out: |
386 th_io_free(infh); | 386 th_io_close(infh); |
387 return res; | 387 return res; |
388 } | 388 } |
389 | 389 |
390 | 390 |
391 int sidutil_read_stildb_file(const char *filename, SIDLibSTILDB **pdbh, SIDLibChConvCtx *chconv) | 391 int sidutil_read_stildb_file(const char *filename, SIDLibSTILDB **pdbh, SIDLibChConvCtx *chconv) |
423 th_error_str(res)); | 423 th_error_str(res)); |
424 goto out; | 424 goto out; |
425 } | 425 } |
426 | 426 |
427 out: | 427 out: |
428 th_io_free(infh); | 428 th_io_close(infh); |
429 return res; | 429 return res; |
430 } | 430 } |