diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-18 09:02:44 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-19 17:10:59 (GMT) |
commit | 062432a6bc1f334f17200a88a04d3c8e02a4fd94 (patch) | |
tree | 8304c27c4d72b82ccc4faccfe313ae51c3ea3ece /Source/cmFileCommand.cxx | |
parent | 96c38493849f05724ec5c2b2e0152c5c86c3b5b0 (diff) | |
download | CMake-062432a6bc1f334f17200a88a04d3c8e02a4fd94.zip CMake-062432a6bc1f334f17200a88a04d3c8e02a4fd94.tar.gz CMake-062432a6bc1f334f17200a88a04d3c8e02a4fd94.tar.bz2 |
cmCurlSetCAInfo: use std::string as argument
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 1223d2a..bdfec02 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -1986,7 +1986,7 @@ bool HandleDownloadCommand(std::vector<std::string> const& args, // check to see if a CAINFO file has been specified // command arg comes first - std::string const& cainfo_err = cmCurlSetCAInfo(curl, cmToCStr(cainfo)); + std::string const& cainfo_err = cmCurlSetCAInfo(curl, cainfo); if (!cainfo_err.empty()) { status.SetError(cainfo_err); return false; @@ -2304,7 +2304,7 @@ bool HandleUploadCommand(std::vector<std::string> const& args, // check to see if a CAINFO file has been specified // command arg comes first - std::string const& cainfo_err = cmCurlSetCAInfo(curl, cmToCStr(cainfo)); + std::string const& cainfo_err = cmCurlSetCAInfo(curl, cainfo); if (!cainfo_err.empty()) { status.SetError(cainfo_err); return false; |