xlat_exp_t *head;
slen = xlat_tokenize(fmt, fmt, &head, &error);
- talloc_free(fmt);
if (slen <= 0) {
snprintf(output, outlen, "ERROR offset %d '%s'", (int) -slen, error);
return;
return;
}
- strlcpy(output, "OK", outlen);
+ xlat_sprint(output, outlen, head);
+ talloc_free(fmt);
}
static void process_file(char const *filename)