summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/uinfo.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-05 06:09:15 +0000
committerChristopher Faylor <me@cgf.cx>2001-11-05 06:09:15 +0000
commit9c510edc61bef580f66590d0932a64873307e1c5 (patch)
treedca774d4fabdf48d9098f7691beb1178c12aab0b /winsup/cygwin/uinfo.cc
parenta9ae96dde4c22f69c06f2c7b0ace0b0ad07ee0e5 (diff)
downloadcygnal-9c510edc61bef580f66590d0932a64873307e1c5.tar.gz
cygnal-9c510edc61bef580f66590d0932a64873307e1c5.tar.bz2
cygnal-9c510edc61bef580f66590d0932a64873307e1c5.zip
Eliminate excess whitespace.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r--winsup/cygwin/uinfo.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index 29f119720..c128d8a44 100644
--- a/winsup/cygwin/uinfo.cc
+++ b/winsup/cygwin/uinfo.cc
@@ -85,7 +85,7 @@ internal_getlogin (cygheap_user &user)
* only obtain HOMEDRIVE and HOMEPATH if they are not already set
* in the environment. */
if (!getenv ("HOMEPATH") || !getenv ("HOMEDRIVE"))
- {
+ {
LPUSER_INFO_3 ui = NULL;
WCHAR wuser[UNLEN + 1];
@@ -98,7 +98,7 @@ internal_getlogin (cygheap_user &user)
strcat (strcpy (buf, "\\\\"), user.logsrv ());
sys_mbstowcs (wlogsrv, buf,
- sizeof (wlogsrv) / sizeof(*wlogsrv));
+ sizeof (wlogsrv) / sizeof(*wlogsrv));
ret = NetUserGetInfo (wlogsrv, wuser, 3,(LPBYTE *)&ui);
}
}
@@ -218,7 +218,7 @@ internal_getlogin (cygheap_user &user)
{
const char *homedrive, *homepath;
if (pw && pw->pw_dir && *pw->pw_dir)
- {
+ {
setenv ("HOME", pw->pw_dir, 1);
debug_printf ("Set HOME (from /etc/passwd) to %s", pw->pw_dir);
}