Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
52daeaff
Commit
52daeaff
authored
Jan 04, 2012
by
Pieter Noordhuis
Browse files
Private connect function takes a const
parent
271cca8d
Changes
1
Show whitespace changes
Inline
Side-by-side
handle.c
View file @
52daeaff
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment