From 49d2cdc2f96e825eac943d0015030036295adfbf Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 20 Apr 2005 19:41:33 +0000 Subject: fixed args order in list_is_ptrin() --- lib/libalpm/alpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3