about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mmime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmime.c b/mmime.c
index 6188f5b..79e1ef0 100644
--- a/mmime.c
+++ b/mmime.c
@@ -246,7 +246,7 @@ gen_file(char *file, char *ct)
 	}
 
 	if (bitlow == 0 && bithigh == 0 &&
-	    maxlinelen <= 78 && content[size-1] == '\n') {
+	    maxlinelen <= 78) {
 		if (!ct)
 			ct = "text/plain";
 		printf("Content-Type: %s\n", ct);