string substitute NULL with ""
This commit is contained in:
parent
be5a7c418a
commit
462b18e0d0
1 changed files with 1 additions and 1 deletions
|
|
@ -1184,7 +1184,7 @@ clixon_str_subst(char *str,
|
|||
if (strcmp(varname, var) != 0)
|
||||
continue;
|
||||
varval = cv_string_get(cv);
|
||||
cprintf(cb, "%s", varval);
|
||||
cprintf(cb, "%s", varval?varval:"");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue