index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/alpm.c | 2 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 08a6994b..bf73d649 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -233,7 +233,7 @@ int alpm_db_update(PM_DB *db, char *archive, char *ts) ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1)); ASSERT(db != NULL && db != handle->db_local, RET_ERR(PM_ERR_WRONG_ARGS, -1)); - if(!pm_list_is_ptrin(db, handle->dbs_sync)) { + if(!pm_list_is_in(db, handle->dbs_sync)) { RET_ERR(PM_ERR_DB_NOT_FOUND, -1); } |