Commit 8caa1bc1 8caa1bc1a5af042cf173f00a1c37e5826db767d6 by Sergey Poznyakoff

insert ',' between recepients' addresses.

1 parent b6bef8d7
......@@ -55,8 +55,11 @@ mail_followup (int argc, char **argv)
/* Add authors of the subsequent messages to the to list
(or should it be cc?)*/
for (i = 1; i < num; i++)
util_strcat(&env.to, util_get_sender(msglist[i], 0));
{
util_strcat(&env.to, ",");
util_strcat(&env.to, util_get_sender(msglist[i], 0));
}
free(msglist);
fprintf(ofile, "To: %s\n", env.to);
......