summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-10-11 14:59:49 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-10-11 14:59:49 +0200
commit3e880cd07d5d51005e48b7ea261a1419b84f134d (patch)
treef2f0897a647eded65da4577744a3ca38df110aad /sys/src
parentc7598b18f34bef66f56f87b28bda81465624e219 (diff)
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.
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/upas/fs/mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/fs/mbox.c b/sys/src/cmd/upas/fs/mbox.c
index 7baa73860..98d0d325e 100644
--- a/sys/src/cmd/upas/fs/mbox.c
+++ b/sys/src/cmd/upas/fs/mbox.c
@@ -1547,7 +1547,7 @@ myplumbsend(int fd, Plumbmsg *m)
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];