summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-07 16:20:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-07 16:20:48 +0200
commit911669ee149c3352dfed14bd0d0a53c2485951c7 (patch)
tree5b1be15a4b49eb4db8daf3b529595ed6bdad3745
parent88093858fa6cf734bb832f7cc9ff06fe57f0ad2a (diff)
downloadabrt-911669ee149c3352dfed14bd0d0a53c2485951c7.tar.gz
abrt-911669ee149c3352dfed14bd0d0a53c2485951c7.tar.xz
abrt-911669ee149c3352dfed14bd0d0a53c2485951c7.zip
preparatory cleanups
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--lib/CommLayer/CommLayerInner.h2
-rw-r--r--src/Daemon/CrashWatcher.h18
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/CommLayer/CommLayerInner.h b/lib/CommLayer/CommLayerInner.h
index 150c7b2e..f4b1ac24 100644
--- a/lib/CommLayer/CommLayerInner.h
+++ b/lib/CommLayer/CommLayerInner.h
@@ -74,7 +74,7 @@ class CCommLayerInner
{
return m_pStatusCommLayer;
}
- CCommLayerInner(CObserver *pObs, const bool& pDebug, const bool pWarning)
+ CCommLayerInner(CObserver *pObs, bool pDebug, bool pWarning)
{
m_pDebugCommLayer = NULL;
m_pWarningCommLayer = NULL;
diff --git a/src/Daemon/CrashWatcher.h b/src/Daemon/CrashWatcher.h
index 420acc40..1d91c9bb 100644
--- a/src/Daemon/CrashWatcher.h
+++ b/src/Daemon/CrashWatcher.h
@@ -66,23 +66,23 @@ class CCrashWatcher
m_sPluginName(pPluginName),
m_sPluginArgs(pPluginArgs),
m_nTimeout(pTimeout)
- {}
+ {}
} cron_callback_data_t;
- typedef struct SThreadData{
- pthread_t thread_id;
- char* UUID;
- char* UID;
- char *dest;
- CCrashWatcher *daemon;
+ typedef struct SThreadData {
+ pthread_t thread_id;
+ char* UUID;
+ char* UID;
+ char *dest;
+ CCrashWatcher *daemon;
} thread_data_t;
/**
* Map to cache the results from CreateReport_t
* <UID, <UUID, result>>
*/
- std::map <const std::string, std::map <int, map_crash_report_t > > pending_jobs;
+ std::map <const std::string, std::map <int, map_crash_report_t > > pending_jobs;
/**
* mutex to protect pending_jobs from being accesed by multiple threads at the same time
*/
@@ -115,7 +115,7 @@ class CCrashWatcher
/*FIXME not needed */
//DBus::Connection *m_pConn;
CSettings *m_pSettings;
- public:
+ public:
//CCrashWatcher(const std::string& pPath,DBus::Connection &connection);
CCrashWatcher(const std::string& pPath);
virtual ~CCrashWatcher();