From 0f9555207a9549a0340d8de49abe9a9438be7018 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 24 Jan 2002 04:07:07 +0000 Subject: [PATCH] Fix const --- socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1