Unboolify slock.c
This commit is contained in:
		
							parent
							
								
									c96e725df0
								
							
						
					
					
						commit
						597469541c
					
				
							
								
								
									
										2
									
								
								slock.c
								
								
								
								
							
							
						
						
									
										2
									
								
								slock.c
								
								
								
								
							| 
						 | 
					@ -166,7 +166,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
 | 
				
			||||||
					running = !!strcmp(inputhash, hash);
 | 
										running = !!strcmp(inputhash, hash);
 | 
				
			||||||
				if (running) {
 | 
									if (running) {
 | 
				
			||||||
					XBell(dpy, 100);
 | 
										XBell(dpy, 100);
 | 
				
			||||||
					failure = True;
 | 
										failure = 1;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				explicit_bzero(&passwd, sizeof(passwd));
 | 
									explicit_bzero(&passwd, sizeof(passwd));
 | 
				
			||||||
				len = 0;
 | 
									len = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue