commit 597469541c10fdb8920ed190b72763b0719e5cb5
Author:     Laslo Hunhold <d...@frign.de>
AuthorDate: Mon Oct 17 20:28:09 2016 +0200
Commit:     Markus Teich <markus.te...@stusta.mhn.de>
CommitDate: Tue Oct 18 00:29:41 2016 +0200

    Unboolify slock.c

diff --git a/slock.c b/slock.c
index 4d7f06f..ad539dc 100644
--- 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;

Reply via email to