# HG changeset patch # User Matti Hamalainen # Date 1578247919 -7200 # Node ID 9e45cb6f12a5c93d4cbc022914112516827ced95 # Parent 1e7c2c87e1e09279000e464eb3ef6dcf49df1824 Use th_pstr_cpy() for setting certain variables. diff -r 1e7c2c87e1e0 -r 9e45cb6f12a5 sidinfo.c --- 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: