diff --git a/contrib/onelab/OnelabClients.cpp b/contrib/onelab/OnelabClients.cpp index 92eca09df381645bdc192b58dbbaf539163d2259..d134824ccc9ae15580f22e41d525044a897621f5 100644 --- a/contrib/onelab/OnelabClients.cpp +++ b/contrib/onelab/OnelabClients.cpp @@ -855,7 +855,7 @@ void EncapsulatedClient::convert() { } std::string EncapsulatedClient::buildCommandLine(){ - return FixWindowsQuote(OLMsg::GetLoaderName()); + return FixWindowsQuotes(OLMsg::GetLoaderName()); } void EncapsulatedClient::compute(){ @@ -1159,7 +1159,7 @@ std::string sanitize(const std::string &in) return out; } -std::string FixWindowQuotes(const std::string &in) +std::string FixWindowsQuotes(const std::string &in) { #if defined(WIN32) return "\"" + in + "\""; diff --git a/contrib/onelab/OnelabClients.h b/contrib/onelab/OnelabClients.h index bc8a421c22e554faa5a3b234f2b73b1393eacd15..6e63e28a8452e204f34c179f0b9677a427ace636 100644 --- a/contrib/onelab/OnelabClients.h +++ b/contrib/onelab/OnelabClients.h @@ -39,7 +39,7 @@ std::string getUserHomedir(); std::string sanitize(const std::string &in); std::string removeBlanks(const std::string &in); bool isPath(const std::string &in); -std::string FixWindowQuotes(const std::string &in); +std::string FixWindowsQuotes(const std::string &in); std::string unquote(const std::string &in); // Parser TOOLS