summary refs log tree commit diff
path: root/mmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'mmime.c')
-rw-r--r--mmime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mmime.c b/mmime.c
index 84064b9..4f2dd4f 100644
--- a/mmime.c
+++ b/mmime.c
@@ -298,6 +298,7 @@ gen_build()
 		if (!rflag && line[0] == '#') {
 			char *f = strchr(line, ' ');
 			if (f) {
+				char of = *f;
 				*f = 0;
 				if (strchr(line, '/')) {
 					printf("\n--%s\n", sep);
@@ -307,6 +308,7 @@ gen_build()
 					intext = 0;
 					continue;
 				}
+				*f = of;
 			}
 		}