Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
6de326e8
Commit
6de326e8
authored
May 30, 2023
by
Yossi Gottlieb
Committed by
Michael Grunder
May 30, 2023
Browse files
Fix a typo in
b6a052fe
.
parent
b6a052fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
net.c
View file @
6de326e8
...
...
@@ -236,7 +236,7 @@ int redisContextSetTcpUserTimeout(redisContext *c, unsigned int timeout) {
res
=
-
1
;
(
void
)
timeout
;
#endif
if
(
res
==
-
1
)
;
{
if
(
res
==
-
1
)
{
__redisSetErrorFromErrno
(
c
,
REDIS_ERR_IO
,
"setsockopt(TCP_USER_TIMEOUT)"
);
redisNetClose
(
c
);
return
REDIS_ERR
;
...
...
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