Mercurial > hg > nnchat
changeset 702:46efb0b16339
Adjust to th-libs ioctx API change.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Jan 2020 13:06:31 +0200 |
parents | f3b119599b3a |
children | d2c7ef3c6d9c |
files | main.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main.c Fri Jan 17 20:04:06 2020 +0200 +++ b/main.c Sat Jan 25 13:06:31 2020 +0200 @@ -1306,7 +1306,7 @@ ctx->filename, th_cfg_write(ctx, cfg)); error: - th_io_free(ctx); + th_io_close(ctx); return 0; } @@ -2064,7 +2064,7 @@ setConfigFile); th_cfg_read(ctx, cfg); - th_io_free(ctx); + th_io_close(ctx); } }