Commit 52daeaff authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Private connect function takes a const

parent 271cca8d
...@@ -109,7 +109,7 @@ static int redis__so_error(int fd) { ...@@ -109,7 +109,7 @@ static int redis__so_error(int fd) {
return err; return err;
} }
static int redis__handle_connect(int family, struct sockaddr *addr, socklen_t addrlen) { static int redis__handle_connect(int family, const struct sockaddr *addr, socklen_t addrlen) {
int fd; int fd;
int on = 1; int on = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment