From: Martin Pool Date: Thu, 24 Jan 2002 04:07:07 +0000 (+0000) Subject: Fix const X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/0f9555207a9549a0340d8de49abe9a9438be7018 Fix const --- diff --git a/socket.c b/socket.c index 27353173..eb1ab3f5 100644 --- 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;