summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-12-24 03:36:43 +0100
committerAllan McRae <allan@archlinux.org>2014-12-27 08:04:53 +0100
commit5221440b6bd0520762026a24abdde50d60552f99 (patch)
treed31832a0b892ed226e4046e1364bc58fabd0d3ff /lib/libalpm
parent286dc83451fe816b80a00806a7f15566ffcc23a7 (diff)
downloadpacman-5221440b6bd0520762026a24abdde50d60552f99.tar.gz
pacman-5221440b6bd0520762026a24abdde50d60552f99.tar.xz
fix duplication of package sha256sum
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index e2997f69..d9ed3d31 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -574,7 +574,7 @@ int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr)
newpkg->installdate = pkg->installdate;
STRDUP(newpkg->packager, pkg->packager, goto cleanup);
STRDUP(newpkg->md5sum, pkg->md5sum, goto cleanup);
- STRDUP(newpkg->sha256sum, pkg->md5sum, goto cleanup);
+ STRDUP(newpkg->sha256sum, pkg->sha256sum, goto cleanup);
STRDUP(newpkg->arch, pkg->arch, goto cleanup);
newpkg->size = pkg->size;
newpkg->isize = pkg->isize;