summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-06-27 20:47:47 +0200
committerJulian Andres Klode <jak@debian.org>2017-06-28 15:52:38 +0200
commitb4afd84a59578965120f175b410ea325d60bcb58 (patch)
treefad26361de88d15f46509bf1a7f903c50fd8a73e /methods/ftp.cc
parent3cb78eef6fd8dcfa964c4ebb83db71efc8cabd64 (diff)
methods: connect: Change PkgAcqMethod to aptMethod
This will allow us to access ConfigFind() and stuff which makes it possible for us to implement TLS support. Gbp-Dch: ignore
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index d789637a8..5b30b5486 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -112,7 +112,7 @@ void FTPConn::Close()
// ---------------------------------------------------------------------
/* Connect to the server using a non-blocking connection and perform a
login. */
-bool FTPConn::Open(pkgAcqMethod *Owner)
+bool FTPConn::Open(aptMethod *Owner)
{
// Use the already open connection if possible.
if (ServerFd != -1)