]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
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 273531733831719d669250f32447a95d3a93a4c7..eb1ab3f527b7e4f75a01ff114560334d0418bed3 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;