X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fexamples_compile.c;h=80c5ba631375e58bd24d78463b6aa65139434679;hb=1c005e1223d2f8f664ce4b3be6cd7eb4dd449844;hp=88530e2b270bb00821454103bbc0dec8c7839985;hpb=3953aaa384210378777cc06f5e7d7f40e44a20e8;p=ccan diff --git a/tools/ccanlint/tests/examples_compile.c b/tools/ccanlint/tests/examples_compile.c index 88530e2b..80c5ba63 100644 --- a/tools/ccanlint/tests/examples_compile.c +++ b/tools/ccanlint/tests/examples_compile.c @@ -473,7 +473,7 @@ static void *build_examples(struct manifest *m, bool keep, char **new = combine(i, get_ccan_file_lines(i), prev); mangle2 = mangle_example(m, i, new, keep); - ret2 = compile(i, m, mangle1, keep); + ret2 = compile(i, m, mangle2, keep); if (!ret2) { prev = new; score->score++; @@ -498,9 +498,9 @@ static void *build_examples(struct manifest *m, bool keep, if (mangle2) { score->errors = talloc_asprintf_append(score->errors, - "%s\n" "%s: tried combining with" " previous example:\n" + "%s\n" "Errors: %s\n\n", i->name, get_ccan_file_contents(mangle2),