diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conf.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -384,8 +384,9 @@ static int set_string_arg (char **var, const char *line, regmatch_t * match) if (!arg) return -1; - *var = safestrdup (arg); - safefree (arg); + + *var = arg; + return *var ? 0 : -1; } |