|
|
@ -218,11 +218,11 @@ foundfilename:
|
|
|
|
fmode=0644;
|
|
|
|
fmode=0644;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (str_start(line,"Content-Transfer-Encoding: ")) {
|
|
|
|
} else if (str_start(line,"Content-Transfer-Encoding: ")) {
|
|
|
|
if (str_start(line+27,"base64"))
|
|
|
|
if (case_starts(line+27,"base64"))
|
|
|
|
mimeenc=BASE64;
|
|
|
|
mimeenc=BASE64;
|
|
|
|
else if (str_start(line+27,"quoted-printable"))
|
|
|
|
else if (case_starts(line+27,"quoted-printable"))
|
|
|
|
mimeenc=QP;
|
|
|
|
mimeenc=QP;
|
|
|
|
else if (str_start(line+27,"7bit"))
|
|
|
|
else if (case_starts(line+27,"7bit"))
|
|
|
|
mimeenc=NONE; /* this is not an attachment */
|
|
|
|
mimeenc=NONE; /* this is not an attachment */
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
buffer_puts(buffer_1,"unknown encoding \"");
|
|
|
|
buffer_puts(buffer_1,"unknown encoding \"");
|
|
|
|