commit a883a4eb6e3dabb9f721fdec649f4c8adeef51c5 from: Martijn van Duren date: Tue Apr 9 08:29:27 2019 UTC No need to add the \r the origf buffer commit - 63ac36cedf1a1cc5fa99dbf504b116c4839128d9 commit + a883a4eb6e3dabb9f721fdec649f4c8adeef51c5 blob - 82c377078b8126696a7ce446370bcd1639c46cb8 blob + 23586550f7df8b4304d89dc3753ea5fb8bfd1380 --- main.c +++ main.c @@ -231,7 +231,7 @@ dkim_dataline(char *type, int version, struct timespec fatalx("Token incorrect"); linelen = strlen(line); - if (fprintf(session->origf, "%s\r\n", line) < linelen) + if (fprintf(session->origf, "%s\n", line) < linelen) dkim_err(session, "Couldn't write to tempfile"); if (line[0] == '.' && line[1] =='\0') {