From d29d27b5513735bdb0f77505f5124b1bed390a17 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 28 Nov 2015 15:46:31 +0100 Subject: fix program name detection in rsh method Regression intoduced in 23e64f6d0facf9610c1042326ad9850e071e8349 --- methods/rsh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'methods/rsh.h') 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(); }; -- cgit v1.2.3