ref: 3e880cd07d5d51005e48b7ea261a1419b84f134d
parent: c7598b18f34bef66f56f87b28bda81465624e219
author: cinap_lenrek <[email protected]>
date: Sun Oct 11 10:59:49 EDT 2020
upas/fs: fix truncation of plumb date the new date format introduced by the previous commit; using numeric timezone offsets; needs one character more, so increase the date format buffer to 31 characters.
--- a/sys/src/cmd/upas/fs/mbox.c
+++ b/sys/src/cmd/upas/fs/mbox.c
@@ -1547,7 +1547,7 @@
static void
mailplumb(Mailbox *mb, Message *m)
{
- char buf[256], dbuf[SHA1dlen*2 + 1], len[10], date[30], *from, *subject;
+ char buf[256], dbuf[SHA1dlen*2 + 1], len[10], date[32], *from, *subject;
int ai;
Plumbmsg p;
Plumbattr a[7];