Commit 9594814a 9594814a3075a29ee1b52cf4f407d79b448b4fb1 by Sergey Poznyakoff

(main): Remove trailing colon from the component name.

1 parent cd4aab04
......@@ -113,6 +113,7 @@ main (int argc, char **argv)
int index;
mailbox_t mbox;
mh_msgset_t msgset;
size_t len;
mu_init_nls ();
......@@ -134,6 +135,10 @@ main (int argc, char **argv)
if (!anno_text && !anno_date)
exit (0);
len = strlen (component);
if (len > 0 && component[len-1] == ':')
component[len-1] = 0;
argc -= index;
argv += index;
......