summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-10 13:10:43 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-10 13:10:43 +0100
commitfc2c5e2f02e6da00e27d68a83277a61efdcc9f83 (patch)
tree29578e2e041586f63d6aff5f6ec16db941ea2ef8 /lib/Plugins
parent86930df464c57f84a461e4a98e5f813bff73952d (diff)
downloadabrt-fc2c5e2f02e6da00e27d68a83277a61efdcc9f83.tar.gz
abrt-fc2c5e2f02e6da00e27d68a83277a61efdcc9f83.tar.xz
abrt-fc2c5e2f02e6da00e27d68a83277a61efdcc9f83.zip
style fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/Bugzilla.cpp4
-rw-r--r--lib/Plugins/FileTransfer.cpp4
-rw-r--r--lib/Plugins/TicketUploader.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index fecbd27..2d065f6 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -287,7 +287,7 @@ void ctx::add_attachments(const char* bug_id_str, const map_crash_report_t& pCra
if (type == CD_ATT)
{
char *encoded64 = encode_base64(content.c_str(), content.length());
- xmlrpc_value* param = xmlrpc_build_value(&env,"(s{s:s,s:s,s:s,s:s})",
+ xmlrpc_value* param = xmlrpc_build_value(&env, "(s{s:s,s:s,s:s,s:s})",
bug_id_str,
"description", ("File: " + filename).c_str(),
"filename", filename.c_str(),
@@ -483,7 +483,7 @@ void CReporterBugzilla::SetSettings(const map_plugin_settings_t& pSettings)
m_sBugzillaURL.erase(m_sBugzillaURL.length() - 1);
}
/*
- if(*(--m_sBugzillaURL.end()) == '/')
+ if (*(--m_sBugzillaURL.end()) == '/')
{
m_sBugzillaURL.erase(--m_sBugzillaURL.end());
}
diff --git a/lib/Plugins/FileTransfer.cpp b/lib/Plugins/FileTransfer.cpp
index 8fff3a9..03ee464 100644
--- a/lib/Plugins/FileTransfer.cpp
+++ b/lib/Plugins/FileTransfer.cpp
@@ -114,7 +114,7 @@ now used in create_zip, but can be useful for some future
archivers as well
*/
static void traverse_directory(const char * directory, void * something,
- void (*func)(void *,const char *) )
+ void (*func)(void *, const char *) )
{
DIR * dp;
struct dirent * dirp;
@@ -225,7 +225,7 @@ static void create_tarbz2(const char * archive_name, const char * directory)
#define BLOCK_MULTIPLIER 7
name_without_bz2 = xstrdup(archive_name);
- strrchr(name_without_bz2,'.')[0] = '\0';
+ strrchr(name_without_bz2, '.')[0] = '\0';
create_tar(name_without_bz2, directory);
tarFD = open(name_without_bz2, O_RDONLY);
diff --git a/lib/Plugins/TicketUploader.cpp b/lib/Plugins/TicketUploader.cpp
index 6d28131..aa6d412 100644
--- a/lib/Plugins/TicketUploader.cpp
+++ b/lib/Plugins/TicketUploader.cpp
@@ -198,7 +198,7 @@ string CTicketUploader::Report(const map_crash_report_t& pCrashReport,
}
string tmptar_name = concat_path_file(tmpdir_name, file_name.c_str());
- if (mkdir(tmptar_name.c_str(),S_IRWXU))
+ if (mkdir(tmptar_name.c_str(), S_IRWXU))
{
Error(ssprintf("Can't mkdir '%s'", tmptar_name.c_str()).c_str());
}