diff options
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r-- | mailutils/mail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailutils/mail.c b/mailutils/mail.c index 6726654f7..3a1fd6949 100644 --- a/mailutils/mail.c +++ b/mailutils/mail.c | |||
@@ -15,7 +15,7 @@ static void signal_handler(int signo) | |||
15 | { | 15 | { |
16 | #define err signo | 16 | #define err signo |
17 | if (SIGALRM == signo) { | 17 | if (SIGALRM == signo) { |
18 | bb_error_msg_and_die("timed out"); | 18 | bb_simple_error_msg_and_die("timed out"); |
19 | } | 19 | } |
20 | 20 | ||
21 | // SIGCHLD. reap zombies | 21 | // SIGCHLD. reap zombies |
@@ -128,7 +128,7 @@ static void encode_n_base64(const char *fname, const char *text, size_t len) | |||
128 | if (fname) { | 128 | if (fname) { |
129 | size = fread((char *)src_buf, 1, SRC_BUF_SIZE, fp); | 129 | size = fread((char *)src_buf, 1, SRC_BUF_SIZE, fp); |
130 | if ((ssize_t)size < 0) | 130 | if ((ssize_t)size < 0) |
131 | bb_perror_msg_and_die(bb_msg_read_error); | 131 | bb_simple_perror_msg_and_die(bb_msg_read_error); |
132 | } else { | 132 | } else { |
133 | size = len; | 133 | size = len; |
134 | if (len > SRC_BUF_SIZE) | 134 | if (len > SRC_BUF_SIZE) |
@@ -179,5 +179,5 @@ void FAST_FUNC get_cred_or_die(int fd) | |||
179 | G.pass = xmalloc_reads(fd, /* maxsize: */ NULL); | 179 | G.pass = xmalloc_reads(fd, /* maxsize: */ NULL); |
180 | } | 180 | } |
181 | if (!G.user || !*G.user || !G.pass) | 181 | if (!G.user || !*G.user || !G.pass) |
182 | bb_error_msg_and_die("no username or password"); | 182 | bb_simple_error_msg_and_die("no username or password"); |
183 | } | 183 | } |