We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fac3f76 commit fd66c79Copy full SHA for fd66c79
1 file changed
lib/format.c
@@ -478,6 +478,7 @@ parse(const char **pos, struct xbps_fmt *fmt,
478
r = strbuf_puts(buf, p, e - p);
479
if (r < 0)
480
return r;
481
+ fmt->var = buf->mem;
482
} else {
483
fmt->var = strndup(p, e - p);
484
if (!fmt->var)
0 commit comments