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
b8729194
Commit
b8729194
authored
Apr 16, 2015
by
Jan-Erik Rediger
Browse files
Make this work on Redis 3.0
parent
27d4dcb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.c
View file @
b8729194
...
...
@@ -466,7 +466,7 @@ static void test_blocking_io_errors(struct config config) {
test
(
"Returns I/O error when the connection is lost: "
);
reply
=
redisCommand
(
c
,
"QUIT"
);
if
(
major
>=
2
&&
minor
>
0
)
{
if
(
major
>
2
||
(
major
=
=
2
&&
minor
>
0
)
)
{
/* > 2.0 returns OK on QUIT and read() should be issued once more
* to know the descriptor is at EOF. */
test_cond
(
strcasecmp
(
reply
->
str
,
"OK"
)
==
0
&&
...
...
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