aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mime.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/mime.c')
-rw-r--r--mailutils/mime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailutils/mime.c b/mailutils/mime.c
index 44c7d0216..682cf4536 100644
--- a/mailutils/mime.c
+++ b/mailutils/mime.c
@@ -225,7 +225,7 @@ static int parse(const char *boundary, char **argv)
225 // prepare unique string pattern 225 // prepare unique string pattern
226 uniq = xasprintf("%%llu.%u.%s", (unsigned)getpid(), safe_gethostname()); 226 uniq = xasprintf("%%llu.%u.%s", (unsigned)getpid(), safe_gethostname());
227 227
228//bb_info_msg("PARSE[%s]", terminator); 228//bb_info_msg("PARSE[%s]", uniq);
229 229
230 while ((line = xmalloc_fgets_str(stdin, "\r\n\r\n")) != NULL) { 230 while ((line = xmalloc_fgets_str(stdin, "\r\n\r\n")) != NULL) {
231 231
@@ -306,7 +306,7 @@ static int parse(const char *boundary, char **argv)
306 306
307 // dump to fp 307 // dump to fp
308 if (0 == strcasecmp(encoding, "base64")) { 308 if (0 == strcasecmp(encoding, "base64")) {
309 decode_base64(stdin, fp); 309 read_base64(stdin, fp, '-');
310 } else if (0 != strcasecmp(encoding, "7bit") 310 } else if (0 != strcasecmp(encoding, "7bit")
311 && 0 != strcasecmp(encoding, "8bit") 311 && 0 != strcasecmp(encoding, "8bit")
312 ) { 312 ) {