diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-04-20 19:41:33 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-04-20 19:41:33 +0000 |
commit | 49d2cdc2f96e825eac943d0015030036295adfbf (patch) | |
tree | 0109b3062dc6e14748ea07ee81d9fe49c9ae51f8 /lib | |
parent | 170dd807f574644ee4bee31a85891e553e578ae1 (diff) | |
download | pacman-49d2cdc2f96e825eac943d0015030036295adfbf.tar.xz |
fixed args order in list_is_ptrin()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/alpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 1c85eafe..e3efa0fd 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(handle->dbs_sync, db)) { + if(!pm_list_is_ptrin(db, handle->dbs_sync)) { RET_ERR(PM_ERR_DB_NOT_FOUND, -1); } |