projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move mutt_strsysexit into lib-sys/exit.[hc]
[apps/madmutt.git]
/
sendlib.c
diff --git
a/sendlib.c
b/sendlib.c
index
2afe601
..
e6c0359
100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-31,6
+31,8
@@
#include <lib-lib/file.h>
#include <lib-lib/debug.h>
#include <lib-lib/file.h>
#include <lib-lib/debug.h>
+#include <lib-sys/exit.h>
+
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
@@
-2024,11
+2026,8
@@
static int mutt_invoke_sendmail (address_t * from, /* the sender */
if ((i = send_msg (path, args, msg, &childout)) != (EX_OK & 0xff)) {
if (i != S_BKG) {
if ((i = send_msg (path, args, msg, &childout)) != (EX_OK & 0xff)) {
if (i != S_BKG) {
- const char *e = mutt_strsysexit (i);
-
- e = mutt_strsysexit (i);
mutt_error (_("Error sending message, child exited %d (%s)."), i,
mutt_error (_("Error sending message, child exited %d (%s)."), i,
-
NONULL (e
));
+
m_strsysexit(i
));
if (childout) {
struct stat st;
if (childout) {
struct stat st;