index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-29 20:31:03 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-29 20:31:03 +0000 |
commit | 95ea99e1973c03abe73b7c20ded9a24905420291 (patch) | |
tree | 32c7887786916842bf8e9f2dd93b8cd03c44f5d0 /lib/libalpm/add.c | |
parent | e5389ddc620bb4584a29c8e36ea1d2584f013f7f (diff) |
-rw-r--r-- | lib/libalpm/add.c | 7 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 1651304f..034643ef 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -150,14 +150,13 @@ int add_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data) for(j = lp; j; j = j->next) { pmdepmissing_t* miss = j->data; - if(miss->type == PM_DEP_DEPEND || miss->type == PM_DEP_REQUIRED) { + if(miss->type == PM_DEP_TYPE_DEPEND || miss->type == PM_DEP_TYPE_REQUIRED) { if(!errorout) { errorout = 1; } if((miss = (pmdepmissing_t *)malloc(sizeof(pmdepmissing_t))) == NULL) { FREELIST(lp); - /* ORE, needed or not ? - FREELIST(*data);*/ + FREELIST(*data); RET_ERR(PM_ERR_MEMORY, -1); } *miss = *(pmdepmissing_t*)j->data; @@ -173,7 +172,7 @@ int add_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data) _alpm_log(PM_LOG_FLOW2, "looking for conflicts"); for(j = lp; j; j = j->next) { pmdepmissing_t* miss = (pmdepmissing_t *)j->data; - if(miss->type == PM_DEP_CONFLICT) { + if(miss->type == PM_DEP_TYPE_CONFLICT) { if(!errorout) { errorout = 1; } |