From: Julian Andres Klode Date: Thu, 24 Jun 2010 08:57:45 +0000 (+0200) Subject: methods/ftp.h: Handle different logins are on the same server (Closes: #586904). X-Git-Tag: 0.8.0~9^2~35 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/330463dd2374bd11757c6f2662f279fc31f035a0 methods/ftp.h: Handle different logins are on the same server (Closes: #586904). --- diff --git a/debian/changelog b/debian/changelog index d29705d24..037dfa7bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +apt (0.7.26~exp8) experimental; urgency=low + + * methods/ftp.h: + - Handle different logins are on the same server (Closes: #586904). + + -- Julian Andres Klode Thu, 24 Jun 2010 10:56:39 +0200 + apt (0.7.26~exp7) experimental; urgency=low * apt-pkg/cachefile.h: diff --git a/methods/ftp.h b/methods/ftp.h index 1bcea41b6..d7f1f7fbe 100644 --- a/methods/ftp.h +++ b/methods/ftp.h @@ -40,7 +40,7 @@ class FTPConn public: - bool Comp(URI Other) {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;}; + bool Comp(URI Other) {return Other.Host == ServerName.Host && Other.Port == ServerName.Port && Other.User == ServerName.User && Other.Password == ServerName.Password; }; // Raw connection IO bool ReadResp(unsigned int &Ret,string &Text);