aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-11-18 22:25:35 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-11-18 22:25:35 +0100
commit41fea01066539ed8e958c21591a5fe7155565ceb (patch)
treea4531fe81eaa3b1231ef810589477fcb323ba25e /mailutils/mail.c
parenta0bef7cc276476e69e2496e728bf97b32d3b561d (diff)
downloadbusybox-w32-41fea01066539ed8e958c21591a5fe7155565ceb.tar.gz
busybox-w32-41fea01066539ed8e958c21591a5fe7155565ceb.tar.bz2
busybox-w32-41fea01066539ed8e958c21591a5fe7155565ceb.zip
sendmail: stop doing -t unconditionally; makemime: generate 76 char base64 lines
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r--mailutils/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/mail.c b/mailutils/mail.c
index f5260d9db..199f64407 100644
--- a/mailutils/mail.c
+++ b/mailutils/mail.c
@@ -119,7 +119,7 @@ static char* FAST_FUNC parse_url(char *url, char **user, char **pass)
119void FAST_FUNC encode_base64(char *fname, const char *text, const char *eol) 119void FAST_FUNC encode_base64(char *fname, const char *text, const char *eol)
120{ 120{
121 enum { 121 enum {
122 SRC_BUF_SIZE = 45, /* This *MUST* be a multiple of 3 */ 122 SRC_BUF_SIZE = 57, /* This *MUST* be a multiple of 3 */
123 DST_BUF_SIZE = 4 * ((SRC_BUF_SIZE + 2) / 3), 123 DST_BUF_SIZE = 4 * ((SRC_BUF_SIZE + 2) / 3),
124 }; 124 };
125#define src_buf text 125#define src_buf text