diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2018-07-10 14:20:43 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-14 15:52:40 +0200 |
commit | 82550d3e45c4df951eb7fc669e6b2d55037cc629 (patch) | |
tree | e073f0e3304ea18da7d885551beccc4872122ffa /greeter/greet.c | |
parent | 21a8da6e18e1b45112fce3520ff91d0fd70813ba (diff) |
Consistant use of bool whenever possible.
Diffstat (limited to 'greeter/greet.c')
-rw-r--r-- | greeter/greet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/greeter/greet.c b/greeter/greet.c index 51dec78..6f17175 100644 --- a/greeter/greet.c +++ b/greeter/greet.c @@ -327,7 +327,7 @@ greet_user_rtn GreetUser( if (code != 0) { CloseGreet (d); - SessionExit (d, code, FALSE); + SessionExit (d, code, false); } /* * Verify user @@ -351,7 +351,7 @@ greet_user_rtn GreetUser( { Debug ("Startup program %s exited with non-zero status\n", d->startup); - SessionExit (d, OBEYSESS_DISPLAY, FALSE); + SessionExit (d, OBEYSESS_DISPLAY, false); } return Greet_Success; } @@ -365,7 +365,7 @@ greet_user_rtn AutoLogin( if (!autoLoginEnv(d, verify, greet)) { LogError("Autologin %s failed\n", d->autoLogin); - SessionExit(d, UNMANAGE_DISPLAY, TRUE); + SessionExit(d, UNMANAGE_DISPLAY, true); } /* @@ -375,7 +375,7 @@ greet_user_rtn AutoLogin( { Debug ("Startup program %s exited with non-zero status\n", d->startup); - SessionExit (d, OBEYSESS_DISPLAY, FALSE); + SessionExit (d, OBEYSESS_DISPLAY, false); } return Greet_Success; } |