]> git.saurik.com Git - apt.git/blobdiff - methods/ftp.h
merge with debian-sid 0.8.15.2
[apt.git] / methods / ftp.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);