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
redis
Commits
bc36404c
Commit
bc36404c
authored
Apr 26, 2019
by
vattezhang
Browse files
update
parent
d3d96b04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
bc36404c
...
...
@@ -418,11 +418,6 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
if
(
redisBufferRead
(
c
->
context
)
!=
REDIS_OK
)
{
fprintf
(
stderr
,
"Error: %s
\n
"
,
c
->
context
->
errstr
);
exit
(
1
);
}
else
if
(
NULL
!=
strstr
(
c
->
context
->
reader
->
buf
,
"NOAUTH"
))
{
fprintf
(
stderr
,
"Error: %s
\n
"
,
c
->
context
->
reader
->
buf
);
exit
(
1
);
}
else
{
while
(
c
->
pending
)
{
if
(
redisGetReply
(
c
->
context
,
&
reply
)
!=
REDIS_OK
)
{
...
...
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