diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-01-15 12:55:26 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-01-15 12:55:26 +0200 |
commit | cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a (patch) | |
tree | 52ed75c5332c861194d4e7c1a3613ec471a9f803 /src/database.c | |
parent | 4c7f1e0deca0a48bd398d332e3a3c42ce527d04a (diff) | |
download | apk-tools-cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a.tar.gz apk-tools-cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a.tar.bz2 apk-tools-cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a.tar.xz apk-tools-cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a.zip |
db: index file location is a URL
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c index 36492a4..99ccaac 100644 --- a/src/database.c +++ b/src/database.c @@ -813,7 +813,7 @@ int apk_db_add_repository(apk_database_t _db, apk_blob_t repository) }; snprintf(tmp, sizeof(tmp), "%s/APK_INDEX.gz", db->repos[r].url); - is = apk_istream_from_file_gz(tmp); + is = apk_istream_from_url_gz(tmp); if (is == NULL) { apk_error("Failed to open index file %s", tmp); return -1; |