URI:
       Convert cid to char * for strlcpy - sdhcp - simple dhcp client
  HTML git clone git://git.codemadness.org/sdhcp
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
   DIR commit a8cbeb12e4df31ea50f5effd25eacfe8145c538e
   DIR parent cbf0f211645a92ada263ddff97e08038c9d19299
  HTML Author: Michael Forney <mforney@mforney.org>
       Date:   Wed, 14 Nov 2018 18:40:33 -0800
       
       Convert cid to char * for strlcpy
       
       Diffstat:
         M sdhcp.c                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/sdhcp.c b/sdhcp.c
       @@ -467,7 +467,7 @@ main(int argc, char *argv[])
                if (argc)
                        ifname = argv[0]; /* interface name */
                if (argc >= 2)
       -                strlcpy(cid, argv[1], sizeof(cid)); /* client-id */
       +                strlcpy((char *)cid, argv[1], sizeof(cid)); /* client-id */
        
                memset(&ifreq, 0, sizeof(ifreq));
                signal(SIGALRM, nop);