ref: d74d01bd8f7251378dcea782f239fbbd868b9b73
parent: f920914bb129720b004d71c7b8cce49cee7f9a54
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Feb 20 08:01:48 EST 2021
upas/marshal: use login instead of user (thanks sirjofri) User is the upasname, and is unlikely to exist when we save the message to the outbox. We should use the login name instead.
--- a/sys/src/cmd/upas/marshal/marshal.c
+++ b/sys/src/cmd/upas/marshal/marshal.c
@@ -1088,7 +1088,7 @@
case 0:
close(pfd[0]);
/* BOTCH; "From " time gets changed */
- f = foldername(nil, user, rcvr);
+ f = foldername(nil, login, rcvr);
b = openfolder(f, time(0));
if(b != nil){
fd = Bfildes(b);
--
⑨