summaryrefslogtreecommitdiff
path: root/src/url.c
diff options
context:
space:
mode:
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,
};