diff sidinfo.c @ 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 41fe5ec24726
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: