index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Judd Vinet <judd@archlinux.org> | 2005-07-22 01:59:11 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-07-22 01:59:11 +0000 |
commit | a2192570fb187f4be900b24a880a85fd4dd125db (patch) | |
tree | 717a03b8fa84463fbbce7fc203ba803395756afc /lib/libalpm/alpm.c | |
parent | da79a410543205cbcf25cd2d1355cc3f8faab3f2 (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 2 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index a91323b3..ce83f664 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -419,13 +419,13 @@ void *alpm_pkg_getinfo(pmpkg_t *pkg, unsigned char parm) case PM_PKG_DESC: data = pkg->desc; break; case PM_PKG_GROUPS: data = pkg->groups; break; case PM_PKG_URL: data = pkg->url; break; - case PM_PKG_LICENSE: data = pkg->license; break; case PM_PKG_ARCH: data = pkg->arch; break; case PM_PKG_BUILDDATE: data = pkg->builddate; break; case PM_PKG_INSTALLDATE: data = pkg->installdate; break; case PM_PKG_PACKAGER: data = pkg->packager; break; case PM_PKG_SIZE: data = (void *)pkg->size; break; case PM_PKG_REASON: data = (void *)(int)pkg->reason; break; + case PM_PKG_LICENSE: data = pkg->license; break; case PM_PKG_REPLACES: data = pkg->replaces; break; case PM_PKG_MD5SUM: data = pkg->md5sum; break; case PM_PKG_DEPENDS: data = pkg->depends; break; |