index
:
apk-tools
2.0-stable
2.1-stable
2.10-stable
2.12-stable
2.14-stable
2.6-stable
2.7-stable
2.8-stable
feature/macos
fix/portability-broken-qsort-r
io-wget
master
mkpkg-info-generalization
tt-adb-compression-spec
tt-add-virtual-version
tt-fetch-world
tt-fix-symlink-apknew
tt-layers
tt-no-cache
tt-package-doc
tt-stable-wip
tt-subnet-match
tt-version-commithash
v3.0-wip
Alpine package manager
uwsgi
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
src/apk.c
3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 1dab55d..53ab248 100644
--- a/
src/apk.c
+++ b/
src/apk.c
@@ -587,5 +587,8 @@ err:
free(ctx);
fetchConnectionCacheClose();
+
+ if (r < 0) r = 250;
+ if (r > 99) r = 99;
return r;
}