summaryrefslogtreecommitdiff
path: root/methods/rsh.h
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2015-08-11 17:59:13 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-12 11:55:47 +0200
commitc7872a2c857bc54febb09721f5256786a15c002d (patch)
treea772b38d8b880ad99c7655c99bbc3487065f6a5b /methods/rsh.h
parent26677b9c25b318c291d778eec758a06471fcba26 (diff)
support setting a port for rsh:// in sources.list
[Commiter comment: Untested, but looks and compiles fine, so what could possibly go wrong] Closes: 624727
Diffstat (limited to 'methods/rsh.h')
-rw-r--r--methods/rsh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/rsh.h b/methods/rsh.h
index 34492971c..e6839711b 100644
--- a/methods/rsh.h
+++ b/methods/rsh.h
@@ -36,6 +36,7 @@ class RSHConn
// Raw connection IO
bool WriteMsg(std::string &Text,bool Sync,const char *Fmt,...);
bool Connect(std::string Host, std::string User);
+ bool Connect(std::string Host, unsigned int Port, std::string User);
bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
// Connection control