about summary refs log tree commit diff
path: root/archive.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-12 16:10:38 -0400
committerJune McEnroe <june@causal.agency>2020-04-12 16:19:34 -0400
commit1a4c574a4d7964761cdd7e1c917cbba32124d0f7 (patch)
tree43935973bee0cf6a143ac4440d1d999eb240204e /archive.h
parentFetch and parse BODYSTRUCTURE (diff)
downloadbubger-1a4c574a4d7964761cdd7e1c917cbba32124d0f7.tar.gz
bubger-1a4c574a4d7964761cdd7e1c917cbba32124d0f7.zip
Avoid mutating header/body for mbox output
Diffstat (limited to '')
-rw-r--r--archive.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/archive.h b/archive.h
index 820ca37..8fd9693 100644
--- a/archive.h
+++ b/archive.h
@@ -145,8 +145,8 @@ char *templateURL(const char *template, const struct Variable vars[]);
 	"MIME-Version Content-Type Content-Disposition Content-Transfer-Encoding"
 
 int mboxFrom(FILE *file);
-int mboxHeader(FILE *file, char *header);
-int mboxBody(FILE *file, char *body);
+int mboxHeader(FILE *file, const char *header);
+int mboxBody(FILE *file, const char *body);
 
 int htmlMessageHead(FILE *file, const struct Envelope *envelope);
 int htmlMessageTail(FILE *file);