desktop/source/minidump/minidump.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
New commits: commit 0c7558f56d82bca2ed736ca4185f1e87c76cf7aa Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Jun 5 22:26:25 2016 +0200 remove old debug output Change-Id: Icf0e38c6725a129d3afb22b1cc79f72071c8e919 Reviewed-on: https://gerrit.libreoffice.org/25934 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/desktop/source/minidump/minidump.cxx b/desktop/source/minidump/minidump.cxx index 0075ca9..135b24a 100644 --- a/desktop/source/minidump/minidump.cxx +++ b/desktop/source/minidump/minidump.cxx @@ -11,7 +11,6 @@ #include <map> #include <memory> -#include <iostream> #include <fstream> #include <sstream> @@ -162,8 +161,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string& curl_easy_strerror(cc)); #endif - const char* error_description = curl_easy_strerror(cc); - if (formpost != nullptr) { curl_formfree(formpost); @@ -173,8 +170,6 @@ bool uploadContent(std::map<std::string, std::string>& parameters, std::string& curl_slist_free_all(headerlist); } - std::cerr << response_body << " " << error_description << std::endl; - response = response_body; if( CURLE_OK != cc ) @@ -191,13 +186,13 @@ bool readConfig(const std::string& iniPath, std::string& response) // make sure that at least the mandatory parameters are in there if (parameters.find("DumpFile") == parameters.end()) { - std::cerr << "ini file needs to contain a key DumpFile!"; + response = "ini file needs to contain a key DumpFile!"; return false; } if (parameters.find("Version") == parameters.end()) { - std::cerr << "ini file needs to contain a key Version!"; + response = "ini file needs to contain a key Version!"; return false; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits