summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-08-08 19:59:02 +0200
committerDan McGee <dan@archlinux.org>2009-08-19 03:47:12 +0200
commit7dae79e7b95c517df136003728363dc9ad346a7e (patch)
tree18796043b6cdbfdf27a5ce801d7cdd8d76c798b3 /lib/libalpm/handle.c
parent7bb9c4098b29d7bcc82ff9e9a823d2adc44cc881 (diff)
downloadpacman-7dae79e7b95c517df136003728363dc9ad346a7e.tar.gz
pacman-7dae79e7b95c517df136003728363dc9ad346a7e.tar.xz
dload.c : various fixes
- fix one memleak if get_filename failed - cleanup according to Joerg's feedback: "url_for_string: If fetchParseURL returned successful, you should always have a scheme set. The logic for anonftp should only be needed for very broken server -- do you know of any such? download_internal: Specifying 'p' is now a nop -- it is tried by default first with fall-back to active FTP." Signed-off-by: Xavier Chantry <shiningxc@gmail.com> [Dan: remove from pacman.conf and pacman.conf.5] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index d1a35ad9..819b9742 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -213,15 +213,6 @@ alpm_list_t SYMEXPORT *alpm_option_get_ignoregrps()
return handle->ignoregrp;
}
-unsigned short SYMEXPORT alpm_option_get_nopassiveftp()
-{
- if (handle == NULL) {
- pm_errno = PM_ERR_HANDLE_NULL;
- return -1;
- }
- return handle->nopassiveftp;
-}
-
pmdb_t SYMEXPORT *alpm_option_get_localdb()
{
if (handle == NULL) {
@@ -529,11 +520,6 @@ int SYMEXPORT alpm_option_remove_ignoregrp(const char *grp)
return(0);
}
-void SYMEXPORT alpm_option_set_nopassiveftp(unsigned short nopasv)
-{
- handle->nopassiveftp = nopasv;
-}
-
void SYMEXPORT alpm_option_set_usedelta(unsigned short usedelta)
{
handle->usedelta = usedelta;