aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-02-12 09:21:16 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-02-12 09:21:16 -0500
commit6ec8c3e753917f9f5e2404d6d7928b32a7bd7a59 (patch)
treef744782644e1d1ce9aa77f4c5c344b6113ee1387
parent4a8008359f38db1b3d7acaf7013a66a5c5394922 (diff)
downloadstasis-6ec8c3e753917f9f5e2404d6d7928b32a7bd7a59.tar.gz
Rename STASIS_DOWNLOAD_RETRIES to STASIS_DOWNLOAD_RETRY_MAX
-rw-r--r--src/lib/core/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/download.c b/src/lib/core/download.c
index 12921c6..a1b14e0 100644
--- a/src/lib/core/download.c
+++ b/src/lib/core/download.c
@@ -25,7 +25,7 @@ long download(char *url, const char *filename, char **errmsg) {
}
size_t max_retries = 5;
- const char *max_retries_str = getenv("STASIS_DOWNLOAD_RETRIES");
+ const char *max_retries_str = getenv("STASIS_DOWNLOAD_RETRY_MAX");
if (max_retries_str) {
max_retries = strtol(timeout_str, NULL, 10);
if (max_retries <= 0) {