Browse Source

ccanlint: fix abort when -vv used and examples don't compile.

Rusty Russell 15 years ago
parent
commit
02c515a11a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/ccanlint/tests/examples_compile.c

+ 2 - 1
tools/ccanlint/tests/examples_compile.c

@@ -488,7 +488,8 @@ static void build_examples(struct manifest *m, bool keep,
 				err = "Standalone compile and"
 					" adding headers both failed";
 		} else {
-			err = talloc_asprintf("Standalone example:\n"
+			err = talloc_asprintf(score,
+					      "Standalone example:\n"
 					      "%s\n"
 					      "Errors: %s\n\n"
 					      "Adding headers, wrappers:\n"