summaryrefslogtreecommitdiffstats
path: root/Source/cmProcessTools.cxx
diff options
context:
space:
mode:
authorMatthias Maennich <matthias@maennich.net>2017-10-05 12:29:41 (GMT)
committerMatthias Maennich <matthias@maennich.net>2017-10-05 12:53:52 (GMT)
commit7eaa964e9b6619dfe3b14ebdf80026e898a9a931 (patch)
tree4cbd86a5dcb91cf5bfaea74e0633c2314db08b90 /Source/cmProcessTools.cxx
parent85a7eaba5ec921ea9f61f340d2372f49ac5536bd (diff)
downloadCMake-7eaa964e9b6619dfe3b14ebdf80026e898a9a931.zip
CMake-7eaa964e9b6619dfe3b14ebdf80026e898a9a931.tar.gz
CMake-7eaa964e9b6619dfe3b14ebdf80026e898a9a931.tar.bz2
cmProcessTools: fix minor issue introduced by 595feb3
Diffstat (limited to 'Source/cmProcessTools.cxx')
-rw-r--r--Source/cmProcessTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProcessTools.cxx b/Source/cmProcessTools.cxx
index 05b1b00..7ab1fa3 100644
--- a/Source/cmProcessTools.cxx
+++ b/Source/cmProcessTools.cxx
@@ -38,7 +38,7 @@ void cmProcessTools::RunProcess(struct cmsysProcess_s* cp, OutputParser* out,
if (err) {
processOutput.DecodeText(std::string(), strdata, 2);
if (!strdata.empty()) {
- out->Process(strdata.c_str(), int(strdata.size()));
+ err->Process(strdata.c_str(), int(strdata.size()));
}
}
cmsysProcess_WaitForExit(cp, nullptr);