Commit 8caa1bc1 8caa1bc1a5af042cf173f00a1c37e5826db767d6 by Sergey Poznyakoff

insert ',' between recepients' addresses.

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