shithub: riscv

Download patch

ref: cac853084c058bdcbed738bf2af73bb4c6c4719f
parent: 543c35debaba0e3fc2538503adea228cd0a28465
author: Alex Musolino <[email protected]>
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*