Add brackets.

This commit is contained in:
Dianne Skoll
2021-12-29 20:51:01 -05:00
parent c7ae214853
commit f694519e0b

View File

@@ -411,8 +411,9 @@ static int RetStrVal(char const *s, func_info *info)
if (!s) {
RetVal.v.str = malloc(1);
if (RetVal.v.str) *RetVal.v.str = 0;
} else
} else {
RetVal.v.str = StrDup(s);
}
if (!RetVal.v.str) {
RetVal.type = ERR_TYPE;