commit 597469541c10fdb8920ed190b72763b0719e5cb5
parent c96e725df0c449abb5f1f6a3b604f64fa69c4756
Author: Laslo Hunhold <dev@frign.de>
Date: Mon, 17 Oct 2016 20:28:09 +0200
Unboolify slock.c
Diffstat:
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;