]> git.armaanb.net Git - opendoas.git/commitdiff
unconst these parameters; i won't be changing bsd auth today.
authortedu <tedu>
Thu, 1 Sep 2016 17:30:52 +0000 (17:30 +0000)
committerDuncaen <mail@duncano.de>
Mon, 11 Dec 2017 15:28:56 +0000 (16:28 +0100)
doas.c

diff --git a/doas.c b/doas.c
index a63f2e794627c340f0503e4e31abd0b60a5c6c67..3474a7c92b0ad5d028c47aa49e93a2c5141d7fcb 100644 (file)
--- a/doas.c
+++ b/doas.c
@@ -221,7 +221,7 @@ checkconfig(const char *confpath, int argc, char **argv,
 
 #ifdef HAVE_BSD_AUTH_H
 static void
-authuser(const char *myname, const char *login_style)
+authuser(char *myname, char *login_style)
 {
        char *challenge = NULL, *response, rbuf[1024], cbuf[128];
        auth_session_t *as;