summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-19 17:10:07 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-19 17:10:07 +0200
commit9b97967f5f87eecf19ce8a7fb8f4900bf0550163 (patch)
treef2067a1e17d57bb2f23167f99e8b47f01b15eae0 /lib
parent05f69e98fbce6e6ef3c1c633ac355f1d81232bcf (diff)
parented1836900c679f5a2b94fbe282a18cac4fe2d094 (diff)
downloadabrt-9b97967f5f87eecf19ce8a7fb8f4900bf0550163.tar.gz
abrt-9b97967f5f87eecf19ce8a7fb8f4900bf0550163.tar.xz
abrt-9b97967f5f87eecf19ce8a7fb8f4900bf0550163.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Bugzilla.conf2
-rw-r--r--lib/Plugins/CCpp.cpp4
-rw-r--r--lib/Plugins/Mailx.cpp4
3 files changed, 6 insertions, 4 deletions
diff --git a/lib/Plugins/Bugzilla.conf b/lib/Plugins/Bugzilla.conf
index 4d5bcba..6e98c9d 100644
--- a/lib/Plugins/Bugzilla.conf
+++ b/lib/Plugins/Bugzilla.conf
@@ -2,7 +2,7 @@
BugzillaURL = https://bugzilla.redhat.com/
# yes means that ssl certificates will not be checked
NoSSLVerify = no
-# your login has to exist, if you don have anyone, please create one
+# your login has to exist, if you don have any, please create one
Login =
# your password
Password =
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index 52c8c69..ddf7696 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -136,6 +136,10 @@ static void InstallDebugInfos(const std::string& pPackage)
#endif
while (fgets(buff, sizeof(buff), pipeout_fp))
{
+ int last = strlen(buff) - 1;
+ if (last >= 0 && buff[last] == '\n')
+ buff[last] = '\0';
+
comm_layer_inner_debug(buff);
comm_layer_inner_status(buff);
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index 81b0763..44f7f09 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -105,8 +105,6 @@ std::string CMailx::Report(const map_crash_report_t& pCrashReport, const std::st
}
}
-
-
emailBody << "Duplicity check" << std::endl;
emailBody << "=====" << std::endl << std::endl;
emailBody << UUIDFile.str() << std::endl;
@@ -133,7 +131,7 @@ std::string CMailx::Report(const map_crash_report_t& pCrashReport, const std::st
{
SendEmail(m_sSubject, emailBody.str());
}
- return "Email was send to :" + m_sEmailTo;
+ return "Email was sent to: " + m_sEmailTo;
}
void CMailx::SetSettings(const map_plugin_settings_t& pSettings)