wmbiff: Remove trailing colon from mailbox label

So now we have one extra char for the label name.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
Carlos R. Mafra 2011-03-21 18:11:39 +01:00
parent 623336526b
commit 4bcb5314a5

View file

@ -476,7 +476,6 @@ static void init_biff(char *config_file)
if (j < 5) { if (j < 5) {
memset(mbox[i].label + j, ' ', 5 - j); memset(mbox[i].label + j, ' ', 5 - j);
} }
mbox[i].label[5] = ':';
} }
/* but always end after 5 characters */ /* but always end after 5 characters */
mbox[i].label[6] = '\0'; mbox[i].label[6] = '\0';