summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmitHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-27 15:58:25 (GMT)
committerBrad King <brad.king@kitware.com>2009-01-27 15:58:25 (GMT)
commit6ae2f8e7ee589d09582155f156b58a509ae97501 (patch)
tree88d9ca12c365032477bc67221a8a9e1dc66869b7 /Source/CTest/cmCTestSubmitHandler.cxx
parentbac4f79764147e1a8cec2605a61be7ac44b9d74f (diff)
downloadCMake-6ae2f8e7ee589d09582155f156b58a509ae97501.zip
CMake-6ae2f8e7ee589d09582155f156b58a509ae97501.tar.gz
CMake-6ae2f8e7ee589d09582155f156b58a509ae97501.tar.bz2
BUG: Fix CTest submit-only operation
We need to initialize cmCTestSubmitHandler on construction to make sure all parts get enabled by default. The recent fix to re-enable all parts on initialization broke submit-only operations because the handler did not initialize on construction. This also removes duplicate initialization code.
Diffstat (limited to 'Source/CTest/cmCTestSubmitHandler.cxx')
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx
index ff0d9b7..5757426 100644
--- a/Source/CTest/cmCTestSubmitHandler.cxx
+++ b/Source/CTest/cmCTestSubmitHandler.cxx
@@ -62,14 +62,7 @@ cmCTestSubmitHandlerCurlDebugCallback(CURL *, curl_infotype, char *chPtr,
//----------------------------------------------------------------------------
cmCTestSubmitHandler::cmCTestSubmitHandler() : HTTPProxy(), FTPProxy()
{
- this->HTTPProxy = "";
- this->HTTPProxyType = 0;
- this->HTTPProxyAuth = "";
-
- this->FTPProxy = "";
- this->FTPProxyType = 0;
- this->CDash = false;
-
+ this->Initialize();
}
//----------------------------------------------------------------------------