more unix username (#26 - validating #explore)

I had this in place at one point but must have accidentally undone it
before deciding that yesterday's patch was finished.  Defer fetching
'pw' until it's needed.
This commit is contained in:
PatR
2019-10-07 14:44:32 -07:00
parent 80d3abcf00
commit 659b3ce9a7

View File

@@ -651,7 +651,7 @@ boolean
check_user_string(optstr)
char *optstr;
{
struct passwd *pw = get_unix_pw();
struct passwd *pw;
int pwlen;
char *eop, *w;
char *pwname = 0;