From 90f958f9feaecf32d2813af48270d9c5431ee377 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 6 Jan 2010 12:37:55 +1030 Subject: [PATCH] Fix getting sub-depends. --- tools/depends.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/depends.c b/tools/depends.c index 6c61cca0..4c31e50a 100644 --- a/tools/depends.c +++ b/tools/depends.c @@ -181,12 +181,13 @@ get_all_deps(const void *ctx, const char *dir, const char *name, for (i = 0; i < num; i++) { char **newdeps; unsigned int j, newnum; + char *subinfo = NULL; if (!strstarts(deps[i], "ccan/")) continue; newdeps = get_one(ctx, dir, deps[i] + strlen("ccan/"), - &newnum, infofile); + &newnum, &subinfo); /* Should be short, so brute-force out dups. */ for (j = 0; j < newnum; j++) { -- 2.39.2