From 5bfd6ac66529ed1976db7df0ab4853eec855e411 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 9 Aug 2009 12:09:09 +0200 Subject: style fixes, no code changes Signed-off-by: Denys Vlasenko --- lib/CommLayer/DBusServerProxy.h | 14 +++++++------- lib/Plugins/Bugzilla.cpp | 2 +- lib/Plugins/FileTransfer.h | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'lib') diff --git a/lib/CommLayer/DBusServerProxy.h b/lib/CommLayer/DBusServerProxy.h index 78fb28b..1a84f43 100644 --- a/lib/CommLayer/DBusServerProxy.h +++ b/lib/CommLayer/DBusServerProxy.h @@ -42,13 +42,13 @@ public: /* methods exported by this interface, * you will have to implement them in your ObjectAdaptor */ - virtual vector_crash_infos_t GetCrashInfos(const std::string &pDBusSender) = 0; - virtual map_crash_report_t CreateReport(const std::string &pUUID, const std::string &pDBusSender) = 0; - virtual uint64_t CreateReport_t(const std::string &pUUID, const std::string &pDBusSender) = 0; - virtual bool Report(map_crash_report_t pReport, const std::string &pDBusSender) = 0; - virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender) = 0; - virtual map_crash_report_t GetJobResult(uint64_t pJobID, const std::string& pDBusSender) = 0; - virtual vector_map_string_string_t GetPluginsInfo() = 0; + virtual vector_crash_infos_t GetCrashInfos(const std::string &pDBusSender) = 0; + virtual map_crash_report_t CreateReport(const std::string &pUUID, const std::string &pDBusSender) = 0; + virtual uint64_t CreateReport_t(const std::string &pUUID, const std::string &pDBusSender) = 0; + virtual bool Report(map_crash_report_t pReport, const std::string &pDBusSender) = 0; + virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender) = 0; + virtual map_crash_report_t GetJobResult(uint64_t pJobID, const std::string& pDBusSender) = 0; + virtual vector_map_string_string_t GetPluginsInfo() = 0; public: /* signal emitters for this interface diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index 2cb5b4c..227f269 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -259,7 +259,7 @@ void CReporterBugzilla::AddAttachments(const std::string& pBugId, const map_cras it->second[CD_CONTENT].length()); NSSBase64Encoder_Destroy(base64, PR_FALSE); std::string attchmentInBase64Printable = ""; - for(unsigned int ii = 0; ii < m_sAttchmentInBase64.length(); ii++) + for (unsigned int ii = 0; ii < m_sAttchmentInBase64.length(); ii++) { if (isprint(m_sAttchmentInBase64[ii])) { diff --git a/lib/Plugins/FileTransfer.h b/lib/Plugins/FileTransfer.h index 68ba0fb..3f8be47 100644 --- a/lib/Plugins/FileTransfer.h +++ b/lib/Plugins/FileTransfer.h @@ -44,9 +44,9 @@ class CFileTransfer : public CAction public: CFileTransfer() : + m_sArchiveType(".tar.gz"), m_nRetryCount(3), - m_nRetryDelay(20), - m_sArchiveType(".tar.gz") + m_nRetryDelay(20) {} virtual void LoadSettings(const std::string& pPath); -- cgit