index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2014-12-27 17:07:04 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-27 17:07:04 +1000 |
commit | 25b492aab691579c8edfc9f57831d055a3f82d74 (patch) | |
tree | a0cacc788dc2105aeb8b1acb8c757e010402bf4c /lib/libalpm/package.c | |
parent | 1f1e53c208cfa0e284511470acb679fe10c4d80c (diff) | |
parent | 5221440b6bd0520762026a24abdde50d60552f99 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index ce6b0a21..b186a4cb 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -584,7 +584,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; |