diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-06 08:43:27 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-06 08:43:40 -0500 |
commit | 0c18b5b15ed6e78cc27580518ae29f20ff23da65 (patch) | |
tree | 7a468237049f1db65d9c6ffed5f0c89dc7e4d271 /src/cli/stasis_indexer/helpers.h | |
parent | 47b0eb0ffc358393238a2e4ec8600f5a862a99b5 (diff) | |
download | stasis-0c18b5b15ed6e78cc27580518ae29f20ff23da65.tar.gz |
Fix pointers to Delivery struct
* Dynamic allocation only. I'm completely fed up with "lost" addresses.
Diffstat (limited to 'src/cli/stasis_indexer/helpers.h')
-rw-r--r-- | src/cli/stasis_indexer/helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |