diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-11 19:02:22 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-11 19:02:22 +0300 |
commit | addae04c266401cf049f1188917bf3432873933c (patch) | |
tree | e2469e26d79fa4b8828d95271fe1e740559019e3 /src/add.c | |
parent | 949d375aa9c9a7fe9cec85740df9de296fab095f (diff) | |
download | apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.gz apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.bz2 apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.xz apk-tools-addae04c266401cf049f1188917bf3432873933c.zip |
db, audit: audit symlinks (by hash of the link target)
Diffstat (limited to 'src/add.c')
-rw-r--r-- | src/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ static int add_main(void *ctx, struct apk_database *db, int argc, char **argv) } virtpkg->name = apk_db_get_name(db, APK_BLOB_STR(actx->virtpkg)); apk_blob_checksum(APK_BLOB_STR(virtpkg->name->name), - apk_default_checksum(), &virtpkg->csum); + apk_checksum_default(), &virtpkg->csum); virtpkg->version = strdup("0"); virtpkg->description = strdup("virtual meta package"); apk_dep_from_pkg(&virtdep, db, virtpkg); |