slock

simple X display locker utility

git clone https://9o.is/git/slock.git

commit 937ba196ef81efdd02bb4ce99c19cd4b395e1cf7
parent 471c88c4af606f71c2714e08a03d366c4a6cf520
Author: Laslo Hunhold <dev@frign.de>
Date:   Mon, 17 Oct 2016 20:28:09 +0200

Unboolify slock.c

Diffstat:
Mslock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slock.c b/slock.c @@ -166,7 +166,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, running = !!strcmp(inputhash, hash); if (running) { XBell(dpy, 100); - failure = True; + failure = 1; } explicit_bzero(&passwd, sizeof(passwd)); len = 0;