From 0c18b5b15ed6e78cc27580518ae29f20ff23da65 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 6 Dec 2024 08:43:27 -0500 Subject: Fix pointers to Delivery struct * Dynamic allocation only. I'm completely fed up with "lost" addresses. --- src/cli/stasis_indexer/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli/stasis_indexer/helpers.h') diff --git a/src/cli/stasis_indexer/helpers.h b/src/cli/stasis_indexer/helpers.h index ffd9f4d..733691d 100644 --- a/src/cli/stasis_indexer/helpers.h +++ b/src/cli/stasis_indexer/helpers.h @@ -18,7 +18,7 @@ struct StrList *get_platforms(struct Delivery ctx[], size_t nelem); int get_pandoc_version(size_t *result); int pandoc_exec(const char *in_file, const char *out_file, const char *css_file, const char *title); int get_latest_rc(struct Delivery ctx[], size_t nelem); -struct Delivery **get_latest_deliveries(struct Delivery ctx[], size_t nelem); +struct Delivery *get_latest_deliveries(struct Delivery ctx[], size_t nelem); int get_files(struct StrList **out, const char *path, const char *pattern, ...); int load_metadata(struct Delivery *ctx, const char *filename); int micromamba_configure(const struct Delivery *ctx, struct MicromambaInfo *m); -- cgit