use getuser instead of getenv("USER").

add portdate file.
This commit is contained in:
rsc 2004-12-27 19:40:50 +00:00
parent a812ae4b43
commit 6a130cb01b
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
SConn.c 2004/1225
SConn.h 2004/1225
aescbc.c 2004/1225
dirls.c 2004/1225
pak.c 2004/1225
password.c 2004/1225
secstore.c 2004/1225
secstore.h 2004/1225
util.c 2004/1225

View file

@ -490,7 +490,7 @@ main(int argc, char **argv)
AuthConn *c;
serve = "$auth";
user = getenv("USER");
user = getuser();
memset(Gflag, 0, sizeof Gflag);
fmtinstall('B', mpfmt);
fmtinstall('H', encodefmt);