summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authorDaniel Novotny <dnovotny@dhcp-0-118.brq.redhat.com>2009-08-25 15:40:26 +0200
committerDaniel Novotny <dnovotny@dhcp-0-118.brq.redhat.com>2009-08-25 15:40:26 +0200
commitf495fd571cc063c2e0980e14b0cac604a5c71b32 (patch)
treea7c2ba4a1fce039b5333258ffd72f49d3eeae6a3 /lib/Plugins
parente4185013d1309b80633d17b84837913ac8705438 (diff)
parentfacd7083bc1c5f097b7d6795780670644ccfbb1f (diff)
downloadabrt-f495fd571cc063c2e0980e14b0cac604a5c71b32.tar.gz
abrt-f495fd571cc063c2e0980e14b0cac604a5c71b32.tar.xz
abrt-f495fd571cc063c2e0980e14b0cac604a5c71b32.zip
Merge branch 'master' of git://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/Mailx.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index 9ba6a630..977499ec 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -64,11 +64,9 @@ void CMailx::AddMailxArg(const std::string& pArg)
}
}
-
void CMailx::ExecMailx(uid_t uid, const std::string& pText)
{
int pipein[2];
- char buff[1024];
pid_t child;
struct passwd* pw = getpwuid(uid);
@@ -107,7 +105,6 @@ void CMailx::ExecMailx(uid_t uid, const std::string& pText)
wait(NULL); /* why? */
}
-
void CMailx::SendEmail(const std::string& pSubject, const std::string& pText, const std::string& pUID)
{
comm_layer_inner_status("Sending an email...");
@@ -120,10 +117,8 @@ void CMailx::SendEmail(const std::string& pSubject, const std::string& pText, co
AddMailxArg("");
ExecMailx(atoi(pUID.c_str()), pText);
-
}
-
std::string CMailx::Report(const map_crash_report_t& pCrashReport, const std::string& pArgs)
{
comm_layer_inner_status("Creating a report...");