diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-11-28 15:46:31 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-28 15:46:31 +0100 |
commit | d29d27b5513735bdb0f77505f5124b1bed390a17 (patch) | |
tree | 197024ee9db6a790e0bd1089837e17e456baf6de /methods/rsh.h | |
parent | ebca2f254ca96ad7ad855dca6e76c9d1c792c4a0 (diff) | |
download | apt-d29d27b5513735bdb0f77505f5124b1bed390a17.tar.gz |
fix program name detection in rsh method
Regression intoduced in 23e64f6d0facf9610c1042326ad9850e071e8349
Diffstat (limited to 'methods/rsh.h')
-rw-r--r-- | methods/rsh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/rsh.h b/methods/rsh.h index 35cbee3e0..64a5cf661 100644 --- a/methods/rsh.h +++ b/methods/rsh.h @@ -25,6 +25,7 @@ class RSHConn int WriteFd; int ReadFd; URI ServerName; + std::string const Prog; // Private helper functions bool ReadLine(std::string &Text); @@ -49,7 +50,7 @@ class RSHConn bool Get(const char *Path,FileFd &To,unsigned long long Resume, Hashes &Hash,bool &Missing, unsigned long long Size); - explicit RSHConn(URI Srv); + RSHConn(std::string const &Prog, URI Srv); ~RSHConn(); }; |