summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
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/apk_defines.h
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/apk_defines.h')
-rw-r--r--src/apk_defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 6bf4624..1867b82 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -32,7 +32,8 @@
#define NULL 0L
#endif
-#define EAPKSTALEINDEX 1024
+#define EAPKBADURL 1024
+#define EAPKSTALEINDEX 1025
static inline void *ERR_PTR(long error) { return (void*) error; }
static inline void *ERR_CAST(const void *ptr) { return (void*) ptr; }