summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 445d65c6..c6dcf28e 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -944,12 +944,12 @@ maildoent(int num, fileheader_t * ent)
filesz = (filesz + 1023) / 1024;
if(filesz > 9999)
{
- filesz = (filesz+1023) / 1024;
+ filesz = (filesz+512) / 1024;
ut = 'M';
}
if(filesz > 9999)
{
- filesz = (filesz+1023) / 1024;
+ filesz = (filesz+512) / 1024;
ut = 'G';
}
}