char *cmd = buf;
char *args;
- size_t i = 0;
if (buf[len] == '\0') {
/* This is mostly safe. Although the cmd_* functions do sometimes
}
else if (STRPREFIX (buf, "expandstring:")) {
buf += 13;
- values[i].t = hive_t_string;
+ values[i].t = hive_t_expand_string;
int nr_chars = strlen (buf);
values[i].len = 2 * (nr_chars + 1);
values[i].value = malloc (values[i].len);