Просмотр исходного кода

methods/ftp.h: Handle different logins are on the same server (Closes: #586904).

Julian Andres Klode лет назад: 16
Родитель
Сommit
330463dd23
2 измененных файлов с 8 добавлено и 1 удалено
  1. 7 0
      debian/changelog
  2. 1 1
      methods/ftp.h

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

+ 1 - 1
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);