summaryrefslogtreecommitdiff
path: root/src/enquiry.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-06-02 00:48:45 +0200
committerGuillem Jover <guillem@debian.org>2014-06-02 00:48:45 +0200
commit2240b13459eb24c653a0c1d88987076cfaaf19ef (patch)
tree3e6a20631e610262ce981ee9be46b6b85eca88a5 /src/enquiry.c
parentbefc7844fd6273c56405f0714af3ea4eab44dcf1 (diff)
downloaddpkg-2240b13459eb24c653a0c1d88987076cfaaf19ef.tar.gz
libdpkg: Uppercase and namespace pkgwant enum values
Diffstat (limited to 'src/enquiry.c')
-rw-r--r--src/enquiry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enquiry.c b/src/enquiry.c
index b54362b7f..701d662a9 100644
--- a/src/enquiry.c
+++ b/src/enquiry.c
@@ -245,7 +245,7 @@ struct sectionentry {
static bool
yettobeunpacked(struct pkginfo *pkg, const char **thissect)
{
- if (pkg->want != want_install)
+ if (pkg->want != PKG_WANT_INSTALL)
return false;
switch (pkg->status) {
@@ -460,7 +460,7 @@ predeppackage(const char *const *argv)
it = pkg_db_iter_new();
while (!dep && (pkg = pkg_db_iter_next_pkg(it))) {
/* Ignore packages user doesn't want. */
- if (pkg->want != want_install)
+ if (pkg->want != PKG_WANT_INSTALL)
continue;
/* Ignore packages not available. */
if (!pkg->files)