Mercurial > hg > sidinfo
changeset 252:9e45cb6f12a5
Use th_pstr_cpy() for setting certain variables.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Jan 2020 20:11:59 +0200 |
parents | 1e7c2c87e1e0 |
children | c98be346c706 |
files | sidinfo.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Sun Jan 05 10:54:11 2020 +0200 +++ b/sidinfo.c Sun Jan 05 20:11:59 2020 +0200 @@ -784,11 +784,11 @@ break; case 8: - setHVSCPath = th_strdup(optArg); + th_pstr_cpy(&setHVSCPath, optArg); break; case 9: - setSLDBPath = th_strdup(optArg); + th_pstr_cpy(&setSLDBPath, optArg); break; case 11: