git: 9front

Download patch

ref: 0cc3965379d4dd29032901b538596403974a3688
parent: 611a87b98baa940605efbaca37be5fb76dcfda71
author: Alex Musolino <alex@musolino.id.au>
date: Fri Nov 22 12:29:35 EST 2019

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 '>'.

--- a/sys/src/cmd/upas/marshal/marshal.c
+++ b/sys/src/cmd/upas/marshal/marshal.c
@@ -868,7 +868,7 @@
 	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*
--