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.
This commit is contained in:
parent
245264e371
commit
fb88cab9ff
1 changed files with 1 additions and 1 deletions
|
@ -1088,7 +1088,7 @@ sendmail(Addr *to, Addr *cc, Addr *bcc, int *pid, char *rcvr)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue