Commit 2a0725c0 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Incomplete condition

parent dd84d50b
......@@ -915,7 +915,7 @@ exec_file(const char *fn, const char *script, const char *tmpdir,
VSB_putc(vsb, '/');
VSB_bcat(vsb, fn, p - fn);
}
if (VSB_len == 0)
if (VSB_len(vsb) == 0)
VSB_putc(vsb, '/');
AZ(VSB_finish(vsb));
macro_def(vltop, NULL, "testdir", "%s", VSB_data(vsb));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment