Code

unixsock plugin: constify
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:56:12 +0000 (23:56 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:56:12 +0000 (23:56 +0100)
src/unixsock.c

index 54a1e20d48aedf40a347bf901ff1718e518d00d5..795f7abe2120f7e4d4930895f9c1af014a7addeb 100644 (file)
@@ -151,7 +151,7 @@ static int us_open_socket (void)
 
        do
        {
-               char *grpname;
+               const char *grpname;
                struct group *g;
                struct group sg;
                char grbuf[2048];