| Update bsd-auth string. - slock - simple X display locker utility | |
| git clone git://git.suckless.org/slock | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit b87bfa234378bcfc1b13273c5089f07902de1725 | |
| parent c2f975773d720e734dbdab9a1e9ae51b0972ae0c | |
| Author: Markus Teich <[email protected]> | |
| Date: Wed, 31 Aug 2016 00:56:13 +0200 | |
| Update bsd-auth string. | |
| Thanks to Hiltjo for discovering this. | |
| Diffstat: | |
| M slock.c | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/slock.c b/slock.c | |
| @@ -157,7 +157,7 @@ readpw(Display *dpy, const char *pws) | |
| case XK_Return: | |
| passwd[len] = 0; | |
| #ifdef HAVE_BSD_AUTH | |
| - running = !auth_userokay(getlogin(), NULL, "au… | |
| + running = !auth_userokay(getlogin(), NULL, "au… | |
| #else | |
| running = !!strcmp(crypt(passwd, pws), pws); | |
| #endif |