From 6ae2f8e7ee589d09582155f156b58a509ae97501 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 27 Jan 2009 10:58:25 -0500 Subject: 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. --- Source/CTest/cmCTestSubmitHandler.cxx | 9 +-------- 1 file changed, 1 insertion(+), 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(); } //---------------------------------------------------------------------------- -- cgit v0.12