From cac853084c058bdcbed738bf2af73bb4c6c4719f Mon Sep 17 00:00:00 2001 From: Alex Musolino Date: Fri, 22 Nov 2019 17:29:35 +1030 Subject: upas/marshal: fix printinreplyto function According to RFC822, the message identifier (msg-id) in a "In-Reply-To" header must start with a '<' and end with a '>'. --- sys/src/cmd/upas/marshal/marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/upas/marshal/marshal.c b/sys/src/cmd/upas/marshal/marshal.c index 7ddec78ee..c4c8eb921 100644 --- a/sys/src/cmd/upas/marshal/marshal.c +++ b/sys/src/cmd/upas/marshal/marshal.c @@ -868,7 +868,7 @@ printinreplyto(Biobuf *out, char *dir) if(n <= 0) return 0; buf[n] = 0; - return Bprint(out, "In-Reply-To: %s\n", buf); + return Bprint(out, "In-Reply-To: <%s>\n", buf); } Attach* -- cgit v1.2.3