aboutsummaryrefslogtreecommitdiffstats
path: root/src/version.c
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2024-01-04 05:41:51 -0600
committerLibravatar bigfoot547 <[email protected]>2024-01-04 05:41:51 -0600
commit302af9fb398d96387fcb6d29041f5ac9dc7d6f1e (patch)
tree60a08623ed986a10446b81f7915f8b65c8b002fe /src/version.c
parentrefactor and download asset index (diff)
downloads assets correctly
TODO: pre-1.6 versions don't work yet
Diffstat (limited to 'src/version.c')
-rw-r--r--src/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 54bdc20..3568cf2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -716,7 +716,7 @@ unsigned l2_version_download_libraries(struct l2_version_library *libs)
}
if (head != NULL) {
- if (l2_dlpool_perform(pool) < 0) {
+ if (l2_dlpool_perform(pool) <= 0) {
CMD_WARN0("Error downloading libraries.");
res = VERSION_EDOWNLOAD;
} else {