* spawn.cc (child_info_spawn::worker): Fix formatting.

This commit is contained in:
Corinna Vinschen 2014-12-02 10:09:13 +00:00
parent adc07b999f
commit 0c326d84b5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-12-02 Corinna Vinschen <corinna@vinschen.de>
* spawn.cc (child_info_spawn::worker): Fix formatting.
2014-12-02 Corinna Vinschen <corinna@vinschen.de>
* sec_auth.cc (str2lsa): Remove.

View File

@ -655,8 +655,8 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,
make sense in terms of security to create a new window
station for every logon of the same user. It just fills up
the system with window stations for no good reason. */
hwst = CreateWindowStationW (::cygheap->user.get_windows_id (sid), 0,
GENERIC_READ | GENERIC_WRITE, sa);
hwst = CreateWindowStationW (::cygheap->user.get_windows_id (sid),
0, GENERIC_READ | GENERIC_WRITE, sa);
if (!hwst)
system_printf ("CreateWindowStation failed, %E");
else if (!SetProcessWindowStation (hwst))