summaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-07 09:27:56 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-07 09:27:56 +0300
commit1a54de02b585e58511a3db4171ccabb3a3a0cce0 (patch)
tree96200280d5f3200257bd28f81b1f25f1252ef0c6 /src/fetch.c
parent4d940c7932c32ed6885c72b5a2e70101b018ad8c (diff)
downloadapk-tools-1a54de02b585e58511a3db4171ccabb3a3a0cce0.tar.gz
apk-tools-1a54de02b585e58511a3db4171ccabb3a3a0cce0.tar.bz2
apk-tools-1a54de02b585e58511a3db4171ccabb3a3a0cce0.tar.xz
apk-tools-1a54de02b585e58511a3db4171ccabb3a3a0cce0.zip
db: open flags revisited
more fine grained control what to load, and rename some of the flags to be shorter.
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 501dff1..8e53b2c 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -132,7 +132,7 @@ static int fetch_main(void *ctx, int argc, char **argv)
struct apk_database db;
int i, j, r;
- r = apk_db_open(&db, apk_root, APK_OPENF_EMPTY_STATE);
+ r = apk_db_open(&db, apk_root, APK_OPENF_NO_STATE);
if (r != 0)
return r;