pinosaur
/
slock.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96e725
)
Unboolify slock.c
author
Laslo Hunhold
<dev@frign.de>
Mon, 17 Oct 2016 18:28:09 +0000
(20:28 +0200)
committer
Markus Teich
<markus.teich@stusta.mhn.de>
Mon, 17 Oct 2016 22:29:41 +0000
(
00:29
+0200)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index
4d7f06f
..
ad539dc
100644
(file)
--- 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;