index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-17 22:35:26 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-17 22:35:26 +0000 |
commit | be39f49a5461d5804e4391266dfea6dd076691f4 (patch) | |
tree | 911a7f550895d9fdda7b4846d6775699549b2bf4 /lib/libalpm/handle.c | |
parent | 5e4c3661c6066623bbfa34bacccfafda5be21315 (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 6 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index b8a6713b..8d220ada 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -151,7 +151,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) break; case PM_OPT_NOUPGRADE: if((char *)data && strlen((char *)data) != 0) { - handle->noupgrade = pm_list_add(handle->noupgrade, strdup((char *)data)); + handle->noupgrade = _alpm_list_add(handle->noupgrade, strdup((char *)data)); _alpm_log(PM_LOG_FLOW2, "'%s' added to PM_OPT_NOUPGRADE", (char *)data); } else { FREELIST(handle->noupgrade); @@ -160,7 +160,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) break; case PM_OPT_NOEXTRACT: if((char *)data && strlen((char *)data) != 0) { - handle->noextract = pm_list_add(handle->noextract, strdup((char *)data)); + handle->noextract = _alpm_list_add(handle->noextract, strdup((char *)data)); _alpm_log(PM_LOG_FLOW2, "'%s' added to PM_OPT_NOEXTRACT", (char *)data); } else { FREELIST(handle->noextract); @@ -169,7 +169,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) break; case PM_OPT_IGNOREPKG: if((char *)data && strlen((char *)data) != 0) { - handle->ignorepkg = pm_list_add(handle->ignorepkg, strdup((char *)data)); + handle->ignorepkg = _alpm_list_add(handle->ignorepkg, strdup((char *)data)); _alpm_log(PM_LOG_FLOW2, "'%s' added to PM_OPT_IGNOREPKG", (char *)data); } else { FREELIST(handle->ignorepkg); |