summaryrefslogtreecommitdiff
path: root/methods/ftp.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-06-24 10:57:45 +0200
committerJulian Andres Klode <jak@debian.org>2010-06-24 10:57:45 +0200
commit330463dd2374bd11757c6f2662f279fc31f035a0 (patch)
tree06ccf5f0d56d9f5738f2ce8327a28e636df914df /methods/ftp.h
parent6b2f7a60c3d7d22d1d6b0e300ef526d48ff20048 (diff)
methods/ftp.h: Handle different logins are on the same server (Closes: #586904).
Diffstat (limited to 'methods/ftp.h')
-rw-r--r--methods/ftp.h2
1 files changed, 1 insertions, 1 deletions
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);