Fix const
authorMartin Pool <mbp@samba.org>
Thu, 24 Jan 2002 04:07:07 +0000 (04:07 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 24 Jan 2002 04:07:07 +0000 (04:07 +0000)
socket.c

index 2735317..eb1ab3f 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -42,7 +42,7 @@ static int lookup_name(const struct sockaddr_storage *ss,
 
 static int check_name(const struct sockaddr_storage *ss,
                      socklen_t ss_len,
-                     const char *name_buf,
+                     char *name_buf,
                      const char *port_buf);
 
 /* Establish a proxy connection on an open socket to a web roxy by
@@ -705,7 +705,7 @@ static int lookup_name(const struct sockaddr_storage *ss,
  * we don't abort the connection but just emit a warning. */
 static int check_name(const struct sockaddr_storage *ss,
                      socklen_t ss_len,
-                     const char *name_buf,
+                     char *name_buf,
                      const char *port_buf)
 {
        struct addrinfo hints, *res, *res0;