summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CrashWatcher.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-09 12:09:09 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-09 12:09:09 +0200
commit5bfd6ac66529ed1976db7df0ab4853eec855e411 (patch)
tree19424c17c265d894accd7cb1715bbbf8cc3a2824 /src/Daemon/CrashWatcher.cpp
parentc210f6793f3f1d62ff241bb31c42938e05e9a783 (diff)
downloadabrt-5bfd6ac66529ed1976db7df0ab4853eec855e411.tar.gz
abrt-5bfd6ac66529ed1976db7df0ab4853eec855e411.tar.xz
abrt-5bfd6ac66529ed1976db7df0ab4853eec855e411.zip
style fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CrashWatcher.cpp')
-rw-r--r--src/Daemon/CrashWatcher.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp
index 1ad59988..cba81f14 100644
--- a/src/Daemon/CrashWatcher.cpp
+++ b/src/Daemon/CrashWatcher.cpp
@@ -149,7 +149,8 @@ gboolean CCrashWatcher::handle_event_cb(GIOChannel *gio, GIOCondition condition,
return TRUE;
}
-void *CCrashWatcher::create_report(void *arg){
+void *CCrashWatcher::create_report(void *arg)
+{
thread_data_t *thread_data = (thread_data_t *) arg;
map_crash_info_t crashReport;
thread_data->daemon->Debug("Creating report...");
@@ -792,7 +793,7 @@ uint64_t CCrashWatcher::CreateReport_t(const std::string &pUUID,const std::strin
thread_data->UID = xstrdup(pUID.c_str());
thread_data->dest = xstrdup(pSender.c_str());
thread_data->daemon = this;
- if(pthread_create(&(thread_data->thread_id), NULL, create_report, (void *)thread_data) != 0)
+ if (pthread_create(&(thread_data->thread_id), NULL, create_report, (void *)thread_data) != 0)
{
throw CABRTException(EXCEP_FATAL, "CCrashWatcher::CreateReport_t(): Cannot create thread!");
}
@@ -876,7 +877,7 @@ vector_map_string_string_t CCrashWatcher::GetPluginsInfo()
{
return m_pMW->GetPluginsInfo();
}
- catch(CABRTException &e)
+ catch (CABRTException &e)
{
if (e.type() == EXCEP_FATAL)
{