]> git.saurik.com Git - apt.git/commitdiff
methods/ftp.h: Handle different logins are on the same server (Closes: #586904).
authorJulian Andres Klode <jak@debian.org>
Thu, 24 Jun 2010 08:57:45 +0000 (10:57 +0200)
committerJulian Andres Klode <jak@debian.org>
Thu, 24 Jun 2010 08:57:45 +0000 (10:57 +0200)
debian/changelog
methods/ftp.h

index d29705d24d3a2c8bb63adfba0450d5298a052e3f..037dfa7bd06c5660f6c459bf68c9cb971a35e2a9 100644 (file)
@@ -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 <jak@debian.org>  Thu, 24 Jun 2010 10:56:39 +0200
+
 apt (0.7.26~exp7) experimental; urgency=low
 
   * apt-pkg/cachefile.h:
index 1bcea41b6829d09299c963bf8da2222aa19cb3cb..d7f1f7fbece776cb0bfba3febbcf4fbc44da0384 100644 (file)
@@ -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);