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 '>'.
This commit is contained in:
Alex Musolino 2019-11-22 17:29:35 +10:30
parent 543c35deba
commit cac853084c

View file

@ -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*