summaryrefslogtreecommitdiff
path: root/mailutils/popmaildir.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-12-20 05:12:39 +0100
committerDenys Vlasenko2010-12-20 05:12:39 +0100
commit5707b52fd4de0d9d5ebb496f459fa4fa66215226 (patch)
tree40ccc1ba8324ada382607c07e16203239043aa37 /mailutils/popmaildir.c
parent27c6c00a7cf141aaa972c0f9691072db287a36ae (diff)
downloadbusybox-5707b52fd4de0d9d5ebb496f459fa4fa66215226.zip
busybox-5707b52fd4de0d9d5ebb496f459fa4fa66215226.tar.gz
mailutils/*: add verbose option to sendmail; remove -m and -j from makemime
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/popmaildir.c')
-rw-r--r--mailutils/popmaildir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mailutils/popmaildir.c b/mailutils/popmaildir.c
index 77ec711..6b73344 100644
--- a/mailutils/popmaildir.c
+++ b/mailutils/popmaildir.c
@@ -14,9 +14,10 @@
static void pop3_checkr(const char *fmt, const char *param, char **ret)
{
- const char *msg = command(fmt, param);
+ char *msg = send_mail_command(fmt, param);
char *answer = xmalloc_fgetline(stdin);
if (answer && '+' == answer[0]) {
+ free(msg);
if (timeout)
alarm(0);
if (ret) {
@@ -27,7 +28,7 @@ static void pop3_checkr(const char *fmt, const char *param, char **ret)
free(answer);
return;
}
- bb_error_msg_and_die("%s failed: %s", msg, answer);
+ bb_error_msg_and_die("%s failed, reply was: %s", msg, answer);
}
static void pop3_check(const char *fmt, const char *param)