diff options
Diffstat (limited to 'lib/plugins/Mailx.cpp')
| -rw-r--r-- | lib/plugins/Mailx.cpp | 2 |
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 */ |
