Unboolify slock.c - slock - simple X display locker utility
(HTM) git clone git://git.suckless.org/slock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 597469541c10fdb8920ed190b72763b0719e5cb5
(DIR) parent c96e725df0c449abb5f1f6a3b604f64fa69c4756
(HTM) Author: Laslo Hunhold <dev@frign.de>
Date: Mon, 17 Oct 2016 20:28:09 +0200
Unboolify slock.c
Diffstat:
M slock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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;