Commit b3290392 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Put back missing socket error check after select(2)

parent b5219397
...@@ -141,6 +141,9 @@ static int redisContextWaitReady(redisContext *c, int fd, const struct timeval * ...@@ -141,6 +141,9 @@ static int redisContextWaitReady(redisContext *c, int fd, const struct timeval *
return REDIS_ERR; return REDIS_ERR;
} }
if (redisCheckSocketError(c, fd) != REDIS_OK)
return REDIS_ERR;
return REDIS_OK; return REDIS_OK;
} }
......
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