summaryrefslogtreecommitdiff
path: root/src/url.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-24 09:31:28 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-04-24 09:32:22 +0300
commitfd98e9c7189a18b27935f92449dea58962e6cbdd (patch)
treef89aa4f26d9dd2b2015a3b966b9229c1ded10b85 /src/url.c
parent74dc8e232f1637c8fc1eaed4e5c1cd7ac946f049 (diff)
downloadapk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.tar.gz
apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.tar.bz2
apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.tar.xz
apk-tools-fd98e9c7189a18b27935f92449dea58962e6cbdd.zip
modifications for the previous commit in error message handling
forgot to --amend my changes
Diffstat (limited to 'src/url.c')
-rw-r--r--src/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.c b/src/url.c
index 2dc47c7..b9fcc53 100644
--- a/src/url.c
+++ b/src/url.c
@@ -58,7 +58,7 @@ static int fetch_maperror(int ec)
[FETCH_TIMEOUT] = -ETIMEDOUT,
[FETCH_UNAVAIL] = -ENOENT,
[FETCH_UNKNOWN] = -EIO,
- [FETCH_URL] = -EINVAL,
+ [FETCH_URL] = -EAPKBADURL,
[FETCH_UNCHANGED] = -EALREADY,
};