diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-08 12:09:53 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-08 12:09:53 -0400 |
commit | f4bdbe0ab890ab541fa27c1ca20aa1f17d7ca52a (patch) | |
tree | 5cf3ff003886ccd1a1e3046729f6e1c3722acc01 /src | |
parent | 0f4bc771ede9cc52cf043fa23d9214a8ec80d111 (diff) | |
download | stasis-f4bdbe0ab890ab541fa27c1ca20aa1f17d7ca52a.tar.gz |
Use defines instead of magic numbers
Diffstat (limited to 'src')
-rw-r--r-- | src/delivery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delivery.c b/src/delivery.c index 95a81ff..1ff1c14 100644 --- a/src/delivery.c +++ b/src/delivery.c @@ -661,8 +661,8 @@ int *bootstrap_build_info(struct Delivery *ctx) { local._stasis_ini_fp.cfg = ini_open(ctx->_stasis_ini_fp.cfg_path); local._stasis_ini_fp.delivery = ini_open(ctx->_stasis_ini_fp.delivery_path); delivery_init_platform(&local); - populate_delivery_cfg(&local, 0); - populate_delivery_ini(&local, 0); + populate_delivery_cfg(&local, INI_READ_RAW); + populate_delivery_ini(&local, INI_READ_RAW); populate_info(&local); ctx->info.build_name = strdup(local.info.build_name); ctx->info.build_number = strdup(local.info.build_number); |