diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-25 16:50:07 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-25 16:50:07 +0200 |
| commit | 7aaf0fb85fd60c04a612fe483f696a4f00f1f85e (patch) | |
| tree | 33f67da71c7eac6b5113e0bbf81b93888dd32bb4 /lib/Plugins/Mailx.cpp | |
| parent | 39f00225b96499fbc765f9eaa353a93ebe8912e2 (diff) | |
| parent | f495fd571cc063c2e0980e14b0cac604a5c71b32 (diff) | |
| download | abrt-7aaf0fb85fd60c04a612fe483f696a4f00f1f85e.tar.gz abrt-7aaf0fb85fd60c04a612fe483f696a4f00f1f85e.tar.xz abrt-7aaf0fb85fd60c04a612fe483f696a4f00f1f85e.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
| -rw-r--r-- | lib/Plugins/Mailx.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp index 9ba6a63..977499e 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..."); |
