ref: a5c4ac4804c377759d468adfad94733d46822f36
parent: dd7352fd35491a753a47aca3acd9f3a2fd8c2d96
author: Alex Musolino <alex@musolino.id.au>
date: Wed Jun 30 08:22:28 EDT 2021
upas/Mail: fix CC addresses in "Reply All" compose windows
--- a/sys/src/cmd/upas/Mail/comp.c
+++ b/sys/src/cmd/upas/Mail/comp.c
@@ -229,13 +229,14 @@
return;
}
- n = 0;
addrs = emalloc(64*sizeof(char*));
+ n = 0;
n += tokenize(to, addrs+n, 64-n);
n += tokenize(rpto, addrs+n, 64-n);
n += tokenize(r->to, addrs+n, 64-n);
show(fd, "To", addrs, n);
- n = tokenize(r->cc, addrs+n, 64-n);
+ n = 0;
+ n += tokenize(r->cc, addrs+n, 64-n);
show(fd, "CC", addrs, n);
free(addrs);
}