summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-23 21:33:01 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-23 21:33:01 +0200
commit082ffbd3d6e713ba8c24b428c46af30c799aac6b (patch)
tree17af1d9cb1b2cdfc22791ab00e1ede09b021aa0e
parent7392acb95ea7be1317892aad1b69a01382ee3f5c (diff)
downloadapk-tools-082ffbd3d6e713ba8c24b428c46af30c799aac6b.tar.gz
apk-tools-082ffbd3d6e713ba8c24b428c46af30c799aac6b.tar.bz2
apk-tools-082ffbd3d6e713ba8c24b428c46af30c799aac6b.tar.xz
apk-tools-082ffbd3d6e713ba8c24b428c46af30c799aac6b.zip
pkg: fix writing of versioned conflicts
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index 7cefc74..cc5f6a5 100644
--- a/src/package.c
+++ b/src/package.c
@@ -355,7 +355,7 @@ void apk_blob_push_dep(apk_blob_t *to, struct apk_database *db, struct apk_depen
apk_blob_push_blob(to, *db->repo_tags[dep->repository_tag].name);
}
if (!APK_BLOB_IS_NULL(*dep->version)) {
- apk_blob_push_blob(to, APK_BLOB_STR(apk_version_op_string(dep->result_mask)));
+ apk_blob_push_blob(to, APK_BLOB_STR(apk_version_op_string(result_mask)));
apk_blob_push_blob(to, *dep->version);
}
}