summaryrefslogtreecommitdiffstats
path: root/lib/plugins/Mailx.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-11 19:29:30 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-11 19:29:30 +0200
commit6c09581696b33bd6f8b96fdb61b4971369f21220 (patch)
tree1c94ec0e20c0e2b9610963c9f8f065d8485bc088 /lib/plugins/Mailx.cpp
parent652a6d802bb35d84ed4cf7d603ab57e7a8c63863 (diff)
downloadabrt-6c09581696b33bd6f8b96fdb61b4971369f21220.tar.gz
abrt-6c09581696b33bd6f8b96fdb61b4971369f21220.tar.xz
abrt-6c09581696b33bd6f8b96fdb61b4971369f21220.zip
preparatory patch with trivial changes only
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/plugins/Mailx.cpp')
-rw-r--r--lib/plugins/Mailx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/Mailx.cpp b/lib/plugins/Mailx.cpp
index 2bb125bf..255c873d 100644
--- a/lib/plugins/Mailx.cpp
+++ b/lib/plugins/Mailx.cpp
@@ -52,7 +52,7 @@ static void exec_and_feed_input(uid_t uid, const char* text, char **args)
/*dir:*/ NULL,
uid);
- full_write(pipein[1], text, strlen(text));
+ full_write_str(pipein[1], text);
close(pipein[1]);
waitpid(child, NULL, 0); /* wait for command completion */