index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2007-11-16 20:50:58 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-17 09:44:48 -0600 |
commit | d311ad067f47608252b9276df90087db98b1100f (patch) | |
tree | 3b51cb2d4949d1bfdca0afcc88ca3a4be2ada4fa /lib/libalpm/db.c | |
parent | 04b7d2ad140058a7cab911fb77ec0285bf76b059 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 2 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index d02ef144..f7621338 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -240,7 +240,7 @@ int SYMEXPORT alpm_db_update(int force, pmdb_t *db) ASSERT(handle->trans->state == STATE_INITIALIZED, RET_ERR(PM_ERR_TRANS_NOT_INITIALIZED, -1)); ASSERT(handle->trans->type == PM_TRANS_TYPE_SYNC, RET_ERR(PM_ERR_TRANS_TYPE, -1)); - if(!alpm_list_find(handle->dbs_sync, db)) { + if(!alpm_list_find_ptr(handle->dbs_sync, db)) { RET_ERR(PM_ERR_DB_NOT_FOUND, -1); } |