* path.cc (chdir): Minor cleanup.

This commit is contained in:
Christopher Faylor
2002-06-13 03:04:50 +00:00
parent 12a2ef4462
commit 4863867ab9
3 changed files with 8 additions and 4 deletions

View File

@ -71,8 +71,8 @@ internal_getlogin (cygheap_user &user)
user.set_domain (buf);
NetApiBufferFree (wui);
}
if (!user.logsrv () && user.domain() &&
get_logon_server(user.domain(), buf, NULL))
if (!user.logsrv () && user.domain () &&
get_logon_server (user.domain (), buf, NULL))
user.set_logsrv (buf + 2);
debug_printf ("Domain: %s, Logon Server: %s, Windows Username: %s",
user.domain (), user.logsrv (), user.name ());