summaryrefslogtreecommitdiffstats
path: root/lib/Utils
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/Utils
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/Utils')
-rw-r--r--lib/Utils/CrashTypesSocket.cpp4
-rw-r--r--lib/Utils/xfuncs.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Utils/CrashTypesSocket.cpp b/lib/Utils/CrashTypesSocket.cpp
index 7c206de..f16e2a9 100644
--- a/lib/Utils/CrashTypesSocket.cpp
+++ b/lib/Utils/CrashTypesSocket.cpp
@@ -73,7 +73,7 @@ std::string crash_data_to_string(const map_crash_data_t& pCrashData)
std::stringstream sCD;
map_crash_data_t::const_iterator it_cd;
sCD << "(" << pCrashData.size() << ")";
- for(it_cd = pCrashData.begin(); it_cd != pCrashData.end(); it_cd++)
+ for (it_cd = pCrashData.begin(); it_cd != pCrashData.end(); it_cd++)
{
sCD << "(" << it_cd->first.length() << ")";
sCD << it_cd->first;
@@ -150,7 +150,7 @@ map_crash_data_t string_to_crash_data(const std::string& pMessage, int& len)
sField = message.substr(ii, nSize);
message.erase(0, ii + nSize);
len += ii + nSize;
- switch(nField % 4)
+ switch (nField % 4)
{
case 0:
name = sField;
diff --git a/lib/Utils/xfuncs.cpp b/lib/Utils/xfuncs.cpp
index b1941f7..0e57639 100644
--- a/lib/Utils/xfuncs.cpp
+++ b/lib/Utils/xfuncs.cpp
@@ -8,12 +8,12 @@
/* Turn on nonblocking I/O on a fd */
int ndelay_on(int fd)
{
- return fcntl(fd, F_SETFL, fcntl(fd,F_GETFL) | O_NONBLOCK);
+ return fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
}
int ndelay_off(int fd)
{
- return fcntl(fd, F_SETFL, fcntl(fd,F_GETFL) & ~O_NONBLOCK);
+ return fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_NONBLOCK);
}
int close_on_exec_on(int fd)