summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-06 18:30:50 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-06 18:30:50 +0000
commit4091aa11658257bc73a1cd07efe812193eb36a84 (patch)
treeeedc2f3d87fc3915b1baefd3dde1bf392f8e33a0 /lib
parent3b49720e397b1c8042cf262547f6e8a0590dc078 (diff)
downloadpacman-4091aa11658257bc73a1cd07efe812193eb36a84.tar.xz
package 'reason' field should default to 0
Diffstat (limited to 'lib')
-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 9ffd49b6..622fd99b 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -54,7 +54,7 @@ pmpkg_t *pkg_new()
pkg->size = 0;
pkg->scriptlet = 0;
pkg->force = 0;
- pkg->reason = PM_PKG_REASON_EXPLICIT;
+ pkg->reason = 0;
pkg->requiredby = NULL;
pkg->conflicts = NULL;
pkg->files = NULL;